← Back

CVE-2011-4940

nvd nist
Published: Jun 27, 2012Modified: Apr 29, 2026

JSON object

Loading...
2.6
Vector
AV:N/AC:H/Au:N/C:N/I:P/A:N
Exploitability: 4.9 / Impact: 2.9
Source: 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.

Affected (39)

Products: Python: Python
1 product
Python
Configuration A
30 vulnerable
Vulnerable SoftwareAffected Versions
Python
Up to 2.5.6
Version 0.9.0
Version 0.9.1
Version 1.2
Version 1.3
Version 1.5.2
Version 1.6.1
Version 1.6
Version 2.0.1
Version 2.1.1
Version 2.1.2
Version 2.1.3
Version 2.2.1
Version 2.2.2
Version 2.2.3
Version 2.3.1
Version 2.3.2
Version 2.3.3
Version 2.3.4
Version 2.3.5
Version 2.3.7
Version 2.4.1
Version 2.4.2
Version 2.4.3
Version 2.4.4
Version 2.4.6
Version 2.5.1
Version 2.5.2
Version 2.5.3
Version 2.5.4
Configuration B
6 vulnerable
Vulnerable SoftwareAffected Versions
Python
Version 2.6.1
Version 2.6.2
Version 2.6.3
Version 2.6.4
Version 2.6.5
Version 2.6.6
Configuration C
3 vulnerable
Vulnerable SoftwareAffected Versions
Python
Version 2.7.1
Version 2.7.1 rc1
Version 2.7.2 rc1

References (24)

Source: secalert@redhat.com
Source: secalert@redhat.com
Source: secalert@redhat.com
Source: secalert@redhat.com
Source: secalert@redhat.com
Source: secalert@redhat.com
Source: secalert@redhat.com
Source: secalert@redhat.com
Source: secalert@redhat.com
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108
Source: af854a3a-2127-422b-91ae-364da2661108

Timeline

No history available yet.