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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-25-1 | python2.6 security update |
EUVD |
EUVD-2011-4850 | 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. |
Ubuntu USN |
USN-1592-1 | Python 2.7 vulnerabilities |
Ubuntu USN |
USN-1596-1 | Python 2.6 vulnerabilities |
Ubuntu USN |
USN-1613-1 | Python 2.5 vulnerabilities |
Ubuntu USN |
USN-1613-2 | Python 2.4 vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Sat, 12 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2024-08-07T00:23:39.213Z
Reserved: 2011-12-23T00:00:00
Link: CVE-2011-4940
No data.
Status : Deferred
Published: 2012-06-27T10:18:36.433
Modified: 2025-04-11T00:51:21.963
Link: CVE-2011-4940
OpenCVE Enrichment
No data.
Debian DLA
EUVD
Ubuntu USN