Path Traversal in Python
CVE-2014-4650
The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which allows remote attackers to read script source code or conduct directory traversal attacks and execute unintended code via a crafted character sequence, as demonstrated by a %2f separator.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.239, 97.9th percentile (scored ); down from 0.247 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.247 · newest: 0.239 · change: -0.008
Affected products
- Python
- Red Hat Enterprise Linux — versions 5.0, 6.0, 7.0
- Red Hat Software Collections
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (blakeblackshear/wale_seg_fault). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- openwall.com/lists/oss-security/2014/06/26/3 (Mailing List, Third Party Advisory)
- bugs.python.org/issue21766 (Exploit, Patch, Vendor Advisory)
- Red Hat (vendor-advisory, Third Party Advisory)