CVE-2017-11424
PyJWT RSA Public Key Configuration SSRF Vulnerability
Description
In PyJWT 1.5.0 and below the `invalid_strings` check in `HMACAlgorithm.prepare_key` does not account for all PEM encoded public keys. Specifically, the PKCS1 PEM encoded format would be allowed because it is prefaced with the string `-----BEGIN RSA PUBLIC KEY-----` which is not accounted for. This enables symmetric/asymmetric key confusion attacks against users using the PKCS1 PEM encoded public keys, which would allow an attacker to craft JWTs from scratch.
INFO
Published Date :
Aug. 24, 2017, 4:29 p.m.
Last Modified :
Oct. 3, 2019, 12:03 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-11424 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-2017-11424
.
URL | Resource |
---|---|
http://www.debian.org/security/2017/dsa-3979 | Third Party Advisory |
https://github.com/jpadilla/pyjwt/pull/277 | Issue Tracking Patch Third Party Advisory |
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).
None
JavaScript Python Dockerfile Shell
None
Deriving RSA public keys from message-signature pairs
Python Dockerfile JavaScript Shell
Collection of online security resources
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-11424
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-11424
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-284 NVD-CWE-noinfo -
Modified Analysis by [email protected]
May. 10, 2019
Action Type Old Value New Value Changed Reference Type http://www.debian.org/security/2017/dsa-3979 No Types Assigned http://www.debian.org/security/2017/dsa-3979 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 04, 2017
Action Type Old Value New Value Added Reference http://www.debian.org/security/2017/dsa-3979 [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 08, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/jpadilla/pyjwt/pull/277 No Types Assigned https://github.com/jpadilla/pyjwt/pull/277 Issue Tracking, Patch, Third Party Advisory Added CWE CWE-284 Added CPE Configuration OR *cpe:2.3:a:pyjwt_project:pyjwt:1.5.0:*:*:*:*:*:*:* (and previous)
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-11424
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-2017-11424
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} -0.03%
score
0.34297
percentile