CVE-2015-9235
Jsonwebtoken RSA/ES Algorithm Bypass
Description
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).
INFO
Published Date :
May 29, 2018, 8:29 p.m.
Last Modified :
Nov. 21, 2024, 2:40 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | ||||
| CVSS 3.0 | CRITICAL | [email protected] |
Public PoC/Exploit Available at Github
CVE-2015-9235 has a 76 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2015-9235.
| URL | Resource |
|---|---|
| https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ | Broken Link Vendor Advisory |
| https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687 | Patch Third Party Advisory |
| https://nodesecurity.io/advisories/17 | Third Party Advisory |
| https://www.timmclean.net/2015/02/25/jwt-alg-none.html | Exploit Third Party Advisory |
| https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ | Broken Link Vendor Advisory |
| https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687 | Patch Third Party Advisory |
| https://nodesecurity.io/advisories/17 | Third Party Advisory |
| https://www.timmclean.net/2015/02/25/jwt-alg-none.html | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2015-9235 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2015-9235
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
github star 分类汇总
Python
None
Dockerfile
None
Python
Python CLI tool for analyzing JWT tokens for common security vulnerabilities (alg=none, weak secrets, RS256→HS256 confusion)
Python
A Playwright-based automated JWT vulnerability testing framework for thesis research. It discovers JWT tokens in web applications via intelligent crawling, then executes multiple JWT attack vectors to assess vulnerability.
Dockerfile Python Jupyter Notebook Shell HTML JavaScript Java
None
HTML Python
None
None
TypeScript JavaScript Dockerfile HTML
None
Dockerfile HTML SCSS CSS JavaScript Java Python
A professional, modular, and secure CLI-based tool for analyzing, verifying, and testing JSON Web Tokens (JWTs).
authentication cli-tool cybersecurity jwt jwt-analyzer jwt-authentication jwt-security jwt-verifier penetration-testing pentesting python security security-audit security-tools token-analysis web-security jwt-bruteforce
Python Dockerfile Makefile Shell
Máquina vulnerable dockerizada con fines educativos. Diseñada para ilustrar vulnerabilidades reales del OWASP Top 10 en un entorno controlado.
cibersecurity cibersecurity-education cve cve-2015-9235 docker ethical-hacking ethicalhacking laboratory owasp-top-10 python vulnerability vulnlab cve-2019-8341
Dockerfile Python HTML Shell
Pen-testing helper for jwt-token
JavaScript HTML CSS
Caido plugin - Perform JWT Attacks
TypeScript Vue JavaScript
Plug-and-play authentication & authorization library for Node.js, Express, and Postgres.
JavaScript
None
Python HTML
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2015-9235 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2015-9235 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ Added Reference https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687 Added Reference https://nodesecurity.io/advisories/17 Added Reference https://www.timmclean.net/2015/02/25/jwt-alg-none.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CWE HackerOne CWE-20 -
Initial Analysis by [email protected]
Jul. 09, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687 No Types Assigned https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687 Patch, Third Party Advisory Changed Reference Type https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ No Types Assigned https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ Broken Link, Vendor Advisory Changed Reference Type https://nodesecurity.io/advisories/17 No Types Assigned https://nodesecurity.io/advisories/17 Third Party Advisory Changed Reference Type https://www.timmclean.net/2015/02/25/jwt-alg-none.html No Types Assigned https://www.timmclean.net/2015/02/25/jwt-alg-none.html Exploit, Third Party Advisory Added CWE CWE-327 Added CPE Configuration OR *cpe:2.3:a:auth0:jsonwebtoken:*:*:*:*:*:node.js:*:* versions up to (excluding) 4.2.2 -
CVE Modified by [email protected]
May. 31, 2018
Action Type Old Value New Value Changed Description In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an asymetric key (RS/ES family) of algorithms but instead the attacker send a token digitally signed with a symmetric algorithm (HS* family) 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).