CVE-2022-39227
Python-JWT JSON Web Token Authentication Bypass Vulnerability
Description
python-jwt is a module for generating and verifying JSON Web Tokens. Versions prior to 3.3.4 are subject to Authentication Bypass by Spoofing, resulting in identity spoofing, session hijacking or authentication bypass. An attacker who obtains a JWT can arbitrarily forge its contents without knowing the secret key. Depending on the application, this may for example enable the attacker to spoof other user's identities, hijack their sessions, or bypass authentication. Users should upgrade to version 3.3.4. There are no known workarounds.
INFO
Published Date :
Sept. 23, 2022, 7:15 a.m.
Last Modified :
Nov. 21, 2024, 7:17 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2022-39227 has a 4 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-2022-39227
.
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).
A working POC found while doing a HTB challenge. Original: https://github.com/user0x1337/CVE-2022-39227
Python
Official writeups for Cyber Apocalypse CTF 2024: Hacker Royale
Python Sage Makefile Shell JavaScript HTML Go
CVE-2022-39227 : Proof of Concept
ctf cve exploit hackthebox it-security cve-2022-39227 jwt jwt-token
Python
Python module for generating and verifying JSON Web Tokens
Makefile Python JavaScript CSS 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-2022-39227
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-39227
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://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9 Added Reference https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp Added Reference https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml Added Reference https://www.vicarius.io/vsociety/posts/authentication-bypass-in-python-jwt -
CVE Modified by [email protected]
Jul. 10, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://www.vicarius.io/vsociety/posts/authentication-bypass-in-python-jwt [No types assigned] -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Mar. 04, 2023
Action Type Old Value New Value Changed Reference Type https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9 Patch, Third Party Advisory https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9 Patch Changed CPE Configuration OR *cpe:2.3:a:python-jwt_project:python-jwt:*:*:*:*:*:*:*:* versions up to (excluding) 3.3.4 OR *cpe:2.3:a:python-jwt_project:python-jwt:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.3.4 -
Initial Analysis by [email protected]
Sep. 28, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Changed Reference Type https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9 No Types Assigned https://github.com/davedoesdev/python-jwt/commit/88ad9e67c53aa5f7c43ec4aa52ed34b7930068c9 Patch, Third Party Advisory Changed Reference Type https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp No Types Assigned https://github.com/davedoesdev/python-jwt/security/advisories/GHSA-5p8v-58qm-c7fp Patch, Third Party Advisory Changed Reference Type https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml No Types Assigned https://github.com/pypa/advisory-database/blob/main/vulns/python-jwt/PYSEC-2022-259.yaml Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:python-jwt_project:python-jwt:*:*:*:*:*:*:*:* versions up to (excluding) 3.3.4
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-39227
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-2022-39227
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.13 }} 0.04%
score
0.48070
percentile