National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2011-4940 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://bugs.python.org/issue11442
http://jvn.jp/en/jp/JVN51176027/index.html
http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
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

Weakness Enumeration

CWE-ID CWE Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:python:python:0.9.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:0.9.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:1.5.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:1.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:1.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.3.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.3.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.3.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.3.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.4.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.4.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.4.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
2.5.6

Configuration 2 ( hide )
 cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2011-4940
NVD Published Date:
06/27/2012
NVD Last Modified:
10/25/2019