CVE-2011-4940
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| bullseye | Fixed | 2.7.2-8 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| python | python | {"endIncluding":"2.5.6"} | |
| python | python | 0.9.0 | |
| python | python | 0.9.1 | |
| python | python | 1.2 | |
| python | python | 1.3 | |
| python | python | 1.5.2 | |
| python | python | 1.6 | |
| python | python | 1.6.1 | |
| python | python | 2.0.1 | |
| python | python | 2.1.1 | |
| python | python | 2.1.2 | |
| python | python | 2.1.3 | |
| python | python | 2.2.1 | |
| python | python | 2.2.2 | |
| python | python | 2.2.3 | |
| python | python | 2.3.1 | |
| python | python | 2.3.2 | |
| python | python | 2.3.3 | |
| python | python | 2.3.4 | |
| python | python | 2.3.5 | |
| python | python | 2.3.7 | |
| python | python | 2.4.1 | |
| python | python | 2.4.2 | |
| python | python | 2.4.3 | |
| python | python | 2.4.4 | |
| python | python | 2.4.6 | |
| python | python | 2.5.1 | |
| python | python | 2.5.2 | |
| python | python | 2.5.3 | |
| python | python | 2.5.4 | |
| python | python | 2.6.1 | |
| python | python | 2.6.2 | |
| python | python | 2.6.3 | |
| python | python | 2.6.4 | |
| python | python | 2.6.5 | |
| python | python | 2.6.6 | |
| python | python | 2.7.1 | |
| python | python | 2.7.2 | |
References
- http://bugs.python.org/issue11442
- http://jvn.jp/en/jp/JVN51176027/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
- http://secunia.com/advisories/50858
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://www.securityfocus.com/bid/54083
- http://www.ubuntu.com/usn/USN-1592-1
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- https://bugzilla.redhat.com/show_bug.cgi?id=803500
- https://security-tracker.debian.org/tracker/CVE-2011-4940
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.