CVE-2011-4940

UnknownEPSS 3.21%

Last modified

CVE-2011-4940 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 3.21% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
3.21%

86.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
PythonPython<= 2.5.6
PythonPython0.9.0
PythonPython0.9.1
PythonPython1.2
PythonPython1.3
PythonPython1.5.2
PythonPython1.6
PythonPython1.6.1
PythonPython2.0.1
PythonPython2.1.1
PythonPython2.1.2
PythonPython2.1.3
PythonPython2.2.1
PythonPython2.2.2
PythonPython2.2.3
PythonPython2.3.1
PythonPython2.3.2
PythonPython2.3.3
PythonPython2.3.4
PythonPython2.3.5
PythonPython2.3.7
PythonPython2.4.1
PythonPython2.4.2
PythonPython2.4.3
PythonPython2.4.4
PythonPython2.4.6
PythonPython2.5.1
PythonPython2.5.2
PythonPython2.5.3
PythonPython2.5.4
PythonPython2.6.1
PythonPython2.6.2
PythonPython2.6.3
PythonPython2.6.4
PythonPython2.6.5
PythonPython2.6.6
PythonPython2.7.1
PythonPython2.7.2Rc1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2011-4940?
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.
How severe is CVE-2011-4940?
Severity scoring for CVE-2011-4940 is pending analysis. The EPSS model estimates a 3.21% probability of exploitation in the next 30 days.
How do I fix CVE-2011-4940?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2011-4940?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST