CVE-2011-4940
Published Jun 27, 2012
Last updated 2 years ago
Overview
- 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.
- Source
- secalert@redhat.com
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 2.6
- Impact score
- 2.9
- Exploitability score
- 4.9
- Vector string
- AV:N/AC:H/Au:N/C:N/I:P/A:N
Weaknesses
- nvd@nist.gov
- CWE-79
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "696C2497-C870-4AF2-B9A1-5994E5F40F99", "versionEndIncluding": "2.5.6" }, { "criteria": "cpe:2.3:a:python:python:0.9.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EC4F49A3-B5D0-447C-859E-C415280040C6" }, { "criteria": "cpe:2.3:a:python:python:0.9.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A65A3088-D28E-4781-8374-FC7B9A97CAFD" }, { "criteria": "cpe:2.3:a:python:python:1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "39902E97-2937-48F5-8FDE-5C8F030FA8DF" }, { "criteria": "cpe:2.3:a:python:python:1.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "27E9A887-ACB1-4602-8E5D-D82361E93E3D" }, { "criteria": "cpe:2.3:a:python:python:1.5.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B0DB6484-06C5-4E74-B0FA-198523C60C04" }, { "criteria": "cpe:2.3:a:python:python:1.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0CA90DC8-6C72-4925-99B9-C7341ED94952" }, { "criteria": "cpe:2.3:a:python:python:1.6.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FAA8C532-04F2-4F61-86AD-5289C9E605EC" }, { "criteria": "cpe:2.3:a:python:python:2.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "AEB6ED07-C176-496D-B9CA-F24933D71999" }, { "criteria": "cpe:2.3:a:python:python:2.1.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "1A223BB3-DD5A-48C9-9C82-5D1C4F122828" }, { "criteria": "cpe:2.3:a:python:python:2.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C14973EE-5A2E-4935-8D29-594761502D72" }, { "criteria": "cpe:2.3:a:python:python:2.1.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3E502388-0A87-4503-8EC9-8A43E8BF43E9" }, { "criteria": "cpe:2.3:a:python:python:2.2.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A3CD168A-2180-44C8-8784-3B32589904BB" }, { "criteria": "cpe:2.3:a:python:python:2.2.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EB30EAAD-5CF0-41DD-909B-C6AD94D88ABB" }, { "criteria": "cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "569FAD3A-17DF-424A-AF93-B0720D48D6B6" }, { "criteria": "cpe:2.3:a:python:python:2.3.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "0BD8ED56-5568-4461-B94A-0B5C1EF8C01A" }, { "criteria": "cpe:2.3:a:python:python:2.3.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "396FFF60-8F61-43E5-BF0C-A0C319714247" }, { "criteria": "cpe:2.3:a:python:python:2.3.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "75872F94-A537-4E57-8325-3426DB5D6C75" }, { "criteria": "cpe:2.3:a:python:python:2.3.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6A038A64-E659-47BB-B2C6-8FD151684CBB" }, { "criteria": "cpe:2.3:a:python:python:2.3.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A82F7C03-C9D3-4B83-AF74-30981EC25431" }, { "criteria": "cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "02839080-EFB1-4F63-9D4E-45E26D82ECF5" }, { "criteria": "cpe:2.3:a:python:python:2.4.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "00C353D0-C579-4C0B-AD7D-9E56353F2BF5" }, { "criteria": "cpe:2.3:a:python:python:2.4.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7FB87E45-DBC2-4D0F-B4E9-38585D2F92A4" }, { "criteria": "cpe:2.3:a:python:python:2.4.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "976E5CD0-3A1E-43E6-9C34-B8F1EE1AB863" }, { "criteria": "cpe:2.3:a:python:python:2.4.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "179EDC23-2328-4BB6-98D5-7C1A975A0C46" }, { "criteria": "cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "87B6E723-EC9D-44EF-9DB8-8A229E0ABBB5" }, { "criteria": "cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "12D3CD4F-0C58-46F4-939D-FDF19BC98729" }, { "criteria": "cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6D13FC75-3979-40A8-A1FE-EF86EB15C8A7" }, { "criteria": "cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "78AE8C3C-53A1-408A-BA23-1EBA1E6A0E4C" }, { "criteria": "cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DA59C66F-E469-42C1-9745-330E35AE5A26" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "244740D0-CACA-4607-964C-F0F46153653D" }, { "criteria": "cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BA3487C5-05AD-4553-B123-45F0A51BBA3C" }, { "criteria": "cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "486AB201-5BE7-4947-B18B-DA8F86E5D626" }, { "criteria": "cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E852D2C6-D744-4311-97B3-CAEF073D6585" }, { "criteria": "cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "845FBD14-4175-49F1-B762-4F550CEF5B0D" }, { "criteria": "cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "84E7646B-BC7C-4ED6-925B-268291F31610" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "8CE2063E-5B74-4731-885F-80D2D7B15604" }, { "criteria": "cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FC647F82-9679-4B26-AFF1-1B43B0AF18B5" }, { "criteria": "cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "046BCC55-F166-4C31-AB2B-815A0DFA2BEE" } ], "operator": "OR" } ] } ]