CVE-2011-4940

N/A Unknown
Published: June 27, 2012 Modified: April 29, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://bugs.python.org/issue11442
Source: secalert@redhat.com
http://secunia.com/advisories/50858
Source: secalert@redhat.com
http://secunia.com/advisories/51024
Source: secalert@redhat.com
http://secunia.com/advisories/51040
Source: secalert@redhat.com
http://www.securityfocus.com/bid/54083
Source: secalert@redhat.com
http://www.ubuntu.com/usn/USN-1592-1
Source: secalert@redhat.com
http://www.ubuntu.com/usn/USN-1596-1
Source: secalert@redhat.com
http://www.ubuntu.com/usn/USN-1613-1
Source: secalert@redhat.com
http://www.ubuntu.com/usn/USN-1613-2
Source: secalert@redhat.com
http://bugs.python.org/issue11442
Source: af854a3a-2127-422b-91ae-364da2661108
http://jvn.jp/en/jp/JVN51176027/index.html
Source: af854a3a-2127-422b-91ae-364da2661108
http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/50858
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/51024
Source: af854a3a-2127-422b-91ae-364da2661108
http://secunia.com/advisories/51040
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/bid/54083
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1592-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1596-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1613-1
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.ubuntu.com/usn/USN-1613-2
Source: af854a3a-2127-422b-91ae-364da2661108
https://bugzilla.redhat.com/show_bug.cgi?id=803500
Source: af854a3a-2127-422b-91ae-364da2661108

24 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
EPSS (Exploit Probability)
3.2%
87th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

python