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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
No history.
Information
Published : 2012-06-27 10:18
Updated : 2024-02-04 18:16
NVD link : CVE-2011-4940
Mitre link : CVE-2011-4940
CVE.ORG link : CVE-2011-4940
JSON object : View
Products Affected
python
- python
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')