CVE-2011-4940
CVSS V2 Low 2.6
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2011-4940
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Modified
- Published Version
- 2012-06-27T10:18:36
- Last Modified Date
- 2023-02-13T03:24:05
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 1 | OR | 2.5.6 | |
cpe:2.3:a:python:python:0.9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:0.9.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:1.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:1.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:1.5.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:1.6:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:1.6.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.0.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.1.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.1.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.1.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.2.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.2.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.3.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.3.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.3.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.3.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.3.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.4.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.4.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.4.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.4.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:H/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- HIGH
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 2.6
- Severity
- LOW
- Exploitability Score
- 4.9
- Impact Score
- 2.9
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2011-4940 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4940 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:00:52 | Added to TrackCVE | |||
2023-02-02 19:03:34 | 2023-02-02T18:15:31 | CVE Modified Date | updated | |
2023-02-02 19:03:35 | 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. | CVE-2011-4940 python: potential XSS in SimpleHTTPServer's list_directory() | Description | updated |
2023-02-13 05:04:58 | 2023-02-13T03:24:05 | CVE Modified Date | updated | |
2023-02-13 05:04:59 | CVE-2011-4940 python: potential XSS in SimpleHTTPServer's list_directory() | 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. | Description | updated |