Improper Handling of URL Encoding in CGIHTTPServer Module Allows for Directory Traversal and Code Execution

Improper Handling of URL Encoding in CGIHTTPServer Module Allows for Directory Traversal and Code Execution

CVE-2014-4650 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Server Software.