CVEvulnerability
CVE-2011-4940
2.6 LOW
Official page ↗
- Status
- Modified
- Published
- 2012-06-27
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 2.6 LOW — AV:N/AC:H/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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 configurations
• python python (<= 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
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- http://bugs.python.org/issue11442 bugs.python.org
- http://jvn.jp/en/jp/JVN51176027/index.html jvn.jp
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063 jvndb.jvn.jp
- http://secunia.com/advisories/50858 secunia.com
- http://secunia.com/advisories/51024 secunia.com
- http://secunia.com/advisories/51040 secunia.com
- http://www.securityfocus.com/bid/54083 www.securityfocus.com
- http://www.ubuntu.com/usn/USN-1592-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1596-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-2 www.ubuntu.com
- https://bugzilla.redhat.com/show_bug.cgi?id=803500 bugzilla.redhat.com
- http://bugs.python.org/issue11442 bugs.python.org
- http://jvn.jp/en/jp/JVN51176027/index.html jvn.jp
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063 jvndb.jvn.jp
- http://secunia.com/advisories/50858 secunia.com
- http://secunia.com/advisories/51024 secunia.com
- http://secunia.com/advisories/51040 secunia.com
- http://www.securityfocus.com/bid/54083 www.securityfocus.com
- http://www.ubuntu.com/usn/USN-1592-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1596-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-1 www.ubuntu.com
- http://www.ubuntu.com/usn/USN-1613-2 www.ubuntu.com
- https://bugzilla.redhat.com/show_bug.cgi?id=803500 bugzilla.redhat.com