CVE-2011-4940 The list_directory function in Lib/SimpleHTTPServer.py in SimpleHTTPServer in Python before 2.5.6c1, 2.6.x before 2.6.7 rc2, and 2.7.x before 2.7.2 does not place a charset parameter in the Content-Ty...
LowCVSS 2.6
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
Description
The list_directory function in Lib/SimpleHTTPServer.py in SimpleHTTPServer in Python before 2.5.6c1, 2.6.x before 2.6.7 rc2, and 2.7.x before 2.7.2 does not place a charset parameter in the Content-Type HTTP header, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer 7 via UTF-7 encoding.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python2.7(Debian:11) | < 2.7.2-8 | 2.7.2-8 |
| python | <= 2.5.6 | No fix listed |
| python | = 0.9.0 | No fix listed |
| python | = 0.9.1 | No fix listed |
| python | = 1.2 | No fix listed |
| python | = 1.3 | No fix listed |
| python | = 1.5.2 | No fix listed |
| python | = 1.6 | No fix listed |
| python | = 1.6.1 | No fix listed |
| python | = 2.0.1 | No fix listed |
| python | = 2.1.1 | No fix listed |
| python | = 2.1.2 | No fix listed |
| python | = 2.1.3 | No fix listed |
| python | = 2.2.1 | No fix listed |
| python | = 2.2.2 | No fix listed |
| python | = 2.2.3 | No fix listed |
| python | = 2.3.1 | No fix listed |
| python | = 2.3.2 | No fix listed |
| python | = 2.3.3 | No fix listed |
| python | = 2.3.4 | No fix listed |
| python | = 2.3.5 | No fix listed |
| python | = 2.3.7 | No fix listed |
| python | = 2.4.1 | No fix listed |
| python | = 2.4.2 | No fix listed |
| python | = 2.4.3 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| python | = 2.4.4 | No fix listed |
| python | = 2.4.6 | No fix listed |
| python | = 2.5.1 | No fix listed |
| python | = 2.5.2 | No fix listed |
| python | = 2.5.3 | No fix listed |
| python | = 2.5.4 | No fix listed |
| python | = 2.6.1 | No fix listed |
| python | = 2.6.2 | No fix listed |
| python | = 2.6.3 | No fix listed |
| python | = 2.6.4 | No fix listed |
| python | = 2.6.5 | No fix listed |
| python | = 2.6.6 | No fix listed |
| python | = 2.7.1 | No fix listed |
| python | = 2.7.1-rc1 | No fix listed |
| python | = 2.7.2-rc1 | No fix listed |
References
- security-tracker.debian.org vendor-advisory
- bugs.python.org
- JVN#51176027 third-party-advisory
- JVNDB-2012-000063 third-party-advisory
- 50858 third-party-advisory
- 51024 third-party-advisory
- 51040 third-party-advisory
- 54083 vdb-entry
- USN-1592-1 vendor-advisory
- USN-1596-1 vendor-advisory
- USN-1613-1 vendor-advisory
- USN-1613-2 vendor-advisory
- bugzilla.redhat.com