CVE-2011-4940
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Python | Python | <= 2.5.6 | — |
| Python | Python | 0.9.0 | — |
| Python | Python | 0.9.1 | — |
| Python | Python | 1.2 | — |
| Python | Python | 1.3 | — |
| Python | Python | 1.5.2 | — |
| Python | Python | 1.6 | — |
| Python | Python | 1.6.1 | — |
| Python | Python | 2.0.1 | — |
| Python | Python | 2.1.1 | — |
| Python | Python | 2.1.2 | — |
| Python | Python | 2.1.3 | — |
| Python | Python | 2.2.1 | — |
| Python | Python | 2.2.2 | — |
| Python | Python | 2.2.3 | — |
| Python | Python | 2.3.1 | — |
| Python | Python | 2.3.2 | — |
| Python | Python | 2.3.3 | — |
| Python | Python | 2.3.4 | — |
| Python | Python | 2.3.5 | — |
| Python | Python | 2.3.7 | — |
| Python | Python | 2.4.1 | — |
| Python | Python | 2.4.2 | — |
| Python | Python | 2.4.3 | — |
| Python | Python | 2.4.4 | — |
| Python | Python | 2.4.6 | — |
| Python | Python | 2.5.1 | — |
| Python | Python | 2.5.2 | — |
| Python | Python | 2.5.3 | — |
| Python | Python | 2.5.4 | — |
| Python | Python | 2.6.1 | — |
| Python | Python | 2.6.2 | — |
| Python | Python | 2.6.3 | — |
| Python | Python | 2.6.4 | — |
| Python | Python | 2.6.5 | — |
| Python | Python | 2.6.6 | — |
| Python | Python | 2.7.1 | — |
| Python | Python | 2.7.2 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2011-4940?
How severe is CVE-2011-4940?
How do I fix CVE-2011-4940?
Are you affected by CVE-2011-4940?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
