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 be… (CVE-2011-4940)

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

Severity
none
no public PoC known
87.5 %
Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
3.2 %
Moderate — model estimates 1-10% exploitation likelihood.
Published
2012-06-27 10:00 UTC

Affected products

Products and version ranges extracted from the vendor/CERT advisory. A range like „<4.14.6“ implies the update recommendation „upgrade to 4.14.6 or later“.

  • python

    python2.5.6

  • python

    python

References & sources

IDCVE-2011-4940