Improper input validation in HackerOne Jwt-Simple Node Module
CVE-2016-10555
Since "algorithm" isn't enforced in jwt.decode()in jwt-simple 0.3.0 and earlier, a malicious user could choose what algorithm is sent sent to the server. If the server is expecting RSA but is sent HMAC-SHA with RSA's public key, the server will think the public key is actually an HMAC private key. This could be used to forge any data an attacker wants.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.047, 92.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- HackerOne Jwt-Simple Node Module — versions <=0.3.0
- Jwt-Simple Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
5 public repositories with exploit or proof-of-concept code for this CVE:
- z-bool/Venom-JWT (288 stars, last pushed 2025-08-12): 针对JWT渗透开发的漏洞验证/密钥爆破工具,针对CVE-2015-9235/空白密钥/未验证签名攻击/CVE-2016-10555/CVE-2018-0114/CVE-2020-28042的结果生成用于FUZZ,也可使用字典/字符枚举(包括JJWT)的方式进行爆破(JWT Crack)
- CircuitSoul/poc-cve-2016-10555 (1 star, last pushed 2021-06-14): Change the algorithm RS256(asymmetric) to HS256(symmetric) - POC (CVE-2016-10555)
- scent2d/PoC-CVE-2016-10555 (last pushed 2022-01-03): CVE-2016-10555 PoC code
- FroydCod3r/poc-cve-2016-10555
- thepcn3rd/jwtToken-CVE-2016-10555
Also mentioned in 22 other repositories (0x0806/JWT-Security-Assessment, ARPSyndicate/cvemon, ARPSyndicate/cve-scores, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- nodesecurity.io/advisories/87 (Third Party Advisory)
- github.com/hokaccha/node-jwt-simple/pull/14 (Third Party Advisory, Issue Tracking)
- auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ (Third Party Advisory, Broken Link)
- github.com/hokaccha/node-jwt-simple/pull/16 (Third Party Advisory, Issue Tracking)
This CVE has public exploit evidence. See the latest CVEs with public exploits.