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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2011
- CVE-2011-4934Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2011-4935Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2011-4936Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2011-4937Joomla! 1.7.1 has core information disclosure due to inadequ…7.5
- CVE-2011-4938Multiple cross-site scripting (XSS) vulnerabilities in Ariad…6.1
- CVE-2011-4939The pidgin_conv_chat_rename_user function in gtkconv.c in Pi…
- CVE-2011-4941Unspecified vulnerability in Piwik 1.2 through 1.4 allows re…
- CVE-2011-4942Multiple cross-site scripting (XSS) vulnerabilities in admin…
- CVE-2011-4943ImpressPages CMS v1.0.12 has Unspecified Remote Code Executi…9.8
- CVE-2011-4944Python 2.6 through 3.2 creates ~/.pypirc with world-readable…
- CVE-2011-4945PolicyKit 0.103 sets the AdminIdentities to "wheel" by defau…
- CVE-2011-4946SQL injection vulnerability in e107_admin/users_extended.php…
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
