Improper input validation in Auth0 Jsonwebtoken
CVE-2015-9235
In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an asymmetric key (RS/ES family) of algorithms but instead the attacker send a token digitally signed with a symmetric algorithm (HS* family).
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.084, 95.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Auth0 Jsonwebtoken
- HackerOne Jsonwebtoken Node Module — versions <4.2.2
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)
- Nxvh1337/CVE-2015-9235_JWT_key_confusion (3 stars, last pushed 2023-09-18): automate CVE-2015-9235 exploitation
- aalex954/jwt-key-confusion-poc (2 stars, last pushed 2022-02-13): JWT Key Confusion PoC (CVE-2015-9235) Written for the Hack the Box challenge - Under Construction
- tierChampion/POC_CVE-2015-9235 (last pushed 2026-03-11): Demo of the algorithm confusion attack on various JWT libraries
- WinDyAlphA/CVE-2015-9235_JWT_key_confusion
Also mentioned in 23 other repositories (0x0806/JWT-Security-Assessment, achmadismail173/jwt_exploit, armor-code/acsdk, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- nodesecurity.io/advisories/17 (Third Party Advisory)
- github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b… (Patch, Third Party Advisory)
- auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ (Broken Link, Vendor Advisory)
- www.timmclean.net/2015/02/25/jwt-alg-none.html (Exploit, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.