CVE-2011-4940
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v2.0•LOW•Score: 2.6AV:N/AC:H/Au:N/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.27%• Percentile: 51%
Techniques & Countermeasures
- CWE-79•Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Affected Systems
- python•python
≤ 2.5.6 | 0.9.0 | 0.9.1 | 1.2 | 1.3 | 1.5.2 | 1.6 | 1.6.1 | 2.0.1 | 2.1.1 | 2.1.2 | 2.1.3 | 2.2.1 | 2.2.2 | 2.2.3 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | 2.3.5 | 2.3.7 | 2.4.1 | 2.4.2 | 2.4.3 | 2.4.4 | 2.4.6 | 2.5.1 | 2.5.2 | 2.5.3 | 2.5.4 | 2.6.1 | 2.6.2 | 2.6.3 | 2.6.4 | 2.6.5 | 2.6.6 | 2.7.1 | 2.7.1:rc1 | 2.7.2:rc1
References (12)
- http://www.ubuntu.com/usn/USN-1592-1
- http://jvn.jp/en/jp/JVN51176027/index.html
- http://secunia.com/advisories/51040
- http://secunia.com/advisories/50858
- http://bugs.python.org/issue11442
- http://www.securityfocus.com/bid/54083
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-2
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
- https://bugzilla.redhat.com/show_bug.cgi?id=803500
- http://secunia.com/advisories/51024
- http://www.ubuntu.com/usn/USN-1613-1