CVE-2011-4940 (GCVE-0-2011-4940)
Vulnerability from cvelistv5 – Published: 2012-06-27 10:00 – Updated: 2024-08-07 00:23
VLAI
EPSS
VEX
Summary
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.
Severity
No CVSS data available.
CWE
- n/a
Assigner
References
12 references
| URL | Tags |
|---|---|
| http://www.ubuntu.com/usn/USN-1592-1 | vendor-advisoryx_refsource_UBUNTU |
| http://jvn.jp/en/jp/JVN51176027/index.html | third-party-advisoryx_refsource_JVN |
| http://secunia.com/advisories/51040 | third-party-advisoryx_refsource_SECUNIA |
| http://secunia.com/advisories/50858 | third-party-advisoryx_refsource_SECUNIA |
| http://bugs.python.org/issue11442 | x_refsource_CONFIRM |
| http://www.securityfocus.com/bid/54083 | vdb-entryx_refsource_BID |
| http://www.ubuntu.com/usn/USN-1596-1 | vendor-advisoryx_refsource_UBUNTU |
| http://www.ubuntu.com/usn/USN-1613-2 | vendor-advisoryx_refsource_UBUNTU |
| http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063 | third-party-advisoryx_refsource_JVNDB |
| https://bugzilla.redhat.com/show_bug.cgi?id=803500 | x_refsource_CONFIRM |
| http://secunia.com/advisories/51024 | third-party-advisoryx_refsource_SECUNIA |
| http://www.ubuntu.com/usn/USN-1613-1 | vendor-advisoryx_refsource_UBUNTU |
Date Public
2012-06-19 00:00
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-07T00:23:39.213Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "USN-1592-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "http://www.ubuntu.com/usn/USN-1592-1"
},
{
"name": "JVN#51176027",
"tags": [
"third-party-advisory",
"x_refsource_JVN",
"x_transferred"
],
"url": "http://jvn.jp/en/jp/JVN51176027/index.html"
},
{
"name": "51040",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
],
"url": "http://secunia.com/advisories/51040"
},
{
"name": "50858",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
],
"url": "http://secunia.com/advisories/50858"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "http://bugs.python.org/issue11442"
},
{
"name": "54083",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
],
"url": "http://www.securityfocus.com/bid/54083"
},
{
"name": "USN-1596-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "http://www.ubuntu.com/usn/USN-1596-1"
},
{
"name": "USN-1613-2",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "http://www.ubuntu.com/usn/USN-1613-2"
},
{
"name": "JVNDB-2012-000063",
"tags": [
"third-party-advisory",
"x_refsource_JVNDB",
"x_transferred"
],
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=803500"
},
{
"name": "51024",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
],
"url": "http://secunia.com/advisories/51024"
},
{
"name": "USN-1613-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU",
"x_transferred"
],
"url": "http://www.ubuntu.com/usn/USN-1613-1"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"datePublic": "2012-06-19T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2012-10-13T09:00:00.000Z",
"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"shortName": "redhat"
},
"references": [
{
"name": "USN-1592-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "http://www.ubuntu.com/usn/USN-1592-1"
},
{
"name": "JVN#51176027",
"tags": [
"third-party-advisory",
"x_refsource_JVN"
],
"url": "http://jvn.jp/en/jp/JVN51176027/index.html"
},
{
"name": "51040",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA"
],
"url": "http://secunia.com/advisories/51040"
},
{
"name": "50858",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA"
],
"url": "http://secunia.com/advisories/50858"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "http://bugs.python.org/issue11442"
},
{
"name": "54083",
"tags": [
"vdb-entry",
"x_refsource_BID"
],
"url": "http://www.securityfocus.com/bid/54083"
},
{
"name": "USN-1596-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "http://www.ubuntu.com/usn/USN-1596-1"
},
{
"name": "USN-1613-2",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "http://www.ubuntu.com/usn/USN-1613-2"
},
{
"name": "JVNDB-2012-000063",
"tags": [
"third-party-advisory",
"x_refsource_JVNDB"
],
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=803500"
},
{
"name": "51024",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA"
],
"url": "http://secunia.com/advisories/51024"
},
{
"name": "USN-1613-1",
"tags": [
"vendor-advisory",
"x_refsource_UBUNTU"
],
"url": "http://www.ubuntu.com/usn/USN-1613-1"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"assignerShortName": "redhat",
"cveId": "CVE-2011-4940",
"datePublished": "2012-06-27T10:00:00.000Z",
"dateReserved": "2011-12-23T00:00:00.000Z",
"dateUpdated": "2024-08-07T00:23:39.213Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2011-4940",
"date": "2026-09-20",
"epss": "0.03213",
"percentile": "0.87626"
},
"fkie_nvd": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"matchCriteriaId": "696C2497-C870-4AF2-B9A1-5994E5F40F99",
"versionEndIncluding": "2.5.6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:0.9.0:*:*:*:*:*:*:*",
"matchCriteriaId": "EC4F49A3-B5D0-447C-859E-C415280040C6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:0.9.1:*:*:*:*:*:*:*",
"matchCriteriaId": "A65A3088-D28E-4781-8374-FC7B9A97CAFD",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.2:*:*:*:*:*:*:*",
"matchCriteriaId": "39902E97-2937-48F5-8FDE-5C8F030FA8DF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.3:*:*:*:*:*:*:*",
"matchCriteriaId": "27E9A887-ACB1-4602-8E5D-D82361E93E3D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.5.2:*:*:*:*:*:*:*",
"matchCriteriaId": "B0DB6484-06C5-4E74-B0FA-198523C60C04",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.6:*:*:*:*:*:*:*",
"matchCriteriaId": "0CA90DC8-6C72-4925-99B9-C7341ED94952",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.6.1:*:*:*:*:*:*:*",
"matchCriteriaId": "FAA8C532-04F2-4F61-86AD-5289C9E605EC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.0.1:*:*:*:*:*:*:*",
"matchCriteriaId": "AEB6ED07-C176-496D-B9CA-F24933D71999",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.1.1:*:*:*:*:*:*:*",
"matchCriteriaId": "1A223BB3-DD5A-48C9-9C82-5D1C4F122828",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.1.2:*:*:*:*:*:*:*",
"matchCriteriaId": "C14973EE-5A2E-4935-8D29-594761502D72",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.1.3:*:*:*:*:*:*:*",
"matchCriteriaId": "3E502388-0A87-4503-8EC9-8A43E8BF43E9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.2.1:*:*:*:*:*:*:*",
"matchCriteriaId": "A3CD168A-2180-44C8-8784-3B32589904BB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.2.2:*:*:*:*:*:*:*",
"matchCriteriaId": "EB30EAAD-5CF0-41DD-909B-C6AD94D88ABB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*",
"matchCriteriaId": "569FAD3A-17DF-424A-AF93-B0720D48D6B6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.1:*:*:*:*:*:*:*",
"matchCriteriaId": "0BD8ED56-5568-4461-B94A-0B5C1EF8C01A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.2:*:*:*:*:*:*:*",
"matchCriteriaId": "396FFF60-8F61-43E5-BF0C-A0C319714247",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.3:*:*:*:*:*:*:*",
"matchCriteriaId": "75872F94-A537-4E57-8325-3426DB5D6C75",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.4:*:*:*:*:*:*:*",
"matchCriteriaId": "6A038A64-E659-47BB-B2C6-8FD151684CBB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.5:*:*:*:*:*:*:*",
"matchCriteriaId": "A82F7C03-C9D3-4B83-AF74-30981EC25431",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*",
"matchCriteriaId": "02839080-EFB1-4F63-9D4E-45E26D82ECF5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.1:*:*:*:*:*:*:*",
"matchCriteriaId": "00C353D0-C579-4C0B-AD7D-9E56353F2BF5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.2:*:*:*:*:*:*:*",
"matchCriteriaId": "7FB87E45-DBC2-4D0F-B4E9-38585D2F92A4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.3:*:*:*:*:*:*:*",
"matchCriteriaId": "976E5CD0-3A1E-43E6-9C34-B8F1EE1AB863",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.4:*:*:*:*:*:*:*",
"matchCriteriaId": "179EDC23-2328-4BB6-98D5-7C1A975A0C46",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*",
"matchCriteriaId": "87B6E723-EC9D-44EF-9DB8-8A229E0ABBB5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*",
"matchCriteriaId": "12D3CD4F-0C58-46F4-939D-FDF19BC98729",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:*",
"matchCriteriaId": "6D13FC75-3979-40A8-A1FE-EF86EB15C8A7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:*",
"matchCriteriaId": "78AE8C3C-53A1-408A-BA23-1EBA1E6A0E4C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:*",
"matchCriteriaId": "DA59C66F-E469-42C1-9745-330E35AE5A26",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*",
"matchCriteriaId": "244740D0-CACA-4607-964C-F0F46153653D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:*",
"matchCriteriaId": "BA3487C5-05AD-4553-B123-45F0A51BBA3C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:*",
"matchCriteriaId": "486AB201-5BE7-4947-B18B-DA8F86E5D626",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*",
"matchCriteriaId": "E852D2C6-D744-4311-97B3-CAEF073D6585",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*",
"matchCriteriaId": "845FBD14-4175-49F1-B762-4F550CEF5B0D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*",
"matchCriteriaId": "84E7646B-BC7C-4ED6-925B-268291F31610",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*",
"matchCriteriaId": "8CE2063E-5B74-4731-885F-80D2D7B15604",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:*",
"matchCriteriaId": "FC647F82-9679-4B26-AFF1-1B43B0AF18B5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:*",
"matchCriteriaId": "046BCC55-F166-4C31-AB2B-815A0DFA2BEE",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "La funci\u00f3n list_directory en lib/SimpleHTTPServer.py en SimpleHTTPServer en Python anterior a v2.5.6c1, v2.6.x anterior a v2.6.7 RC2, y v2.7.x anterior a v2.7.2 no pone un par\u00e1metro charset en la cabecera Content-Type de HTTP, lo que hace m\u00e1s f\u00e1cil para los atacantes remotos realizar ataques XSS contra Internet Explorer 7 a trav\u00e9s de codificaci\u00f3n UTF-7."
}
],
"id": "CVE-2011-4940",
"lastModified": "2024-11-21T01:33:20.067",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "LOW",
"cvssData": {
"accessComplexity": "HIGH",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 2.6,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:H/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 4.9,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
]
},
"published": "2012-06-27T10:18:36.433",
"references": [
{
"source": "secalert@redhat.com",
"url": "http://bugs.python.org/issue11442"
},
{
"source": "secalert@redhat.com",
"url": "http://jvn.jp/en/jp/JVN51176027/index.html"
},
{
"source": "secalert@redhat.com",
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063"
},
{
"source": "secalert@redhat.com",
"url": "http://secunia.com/advisories/50858"
},
{
"source": "secalert@redhat.com",
"url": "http://secunia.com/advisories/51024"
},
{
"source": "secalert@redhat.com",
"url": "http://secunia.com/advisories/51040"
},
{
"source": "secalert@redhat.com",
"url": "http://www.securityfocus.com/bid/54083"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1592-1"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1596-1"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1613-1"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1613-2"
},
{
"source": "secalert@redhat.com",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=803500"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://bugs.python.org/issue11442"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://jvn.jp/en/jp/JVN51176027/index.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://secunia.com/advisories/50858"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://secunia.com/advisories/51024"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://secunia.com/advisories/51040"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.securityfocus.com/bid/54083"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1592-1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1596-1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1613-1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1613-2"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=803500"
}
],
"sourceIdentifier": "secalert@redhat.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"nvd": {
"cve": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"matchCriteriaId": "696C2497-C870-4AF2-B9A1-5994E5F40F99",
"versionEndIncluding": "2.5.6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:0.9.0:*:*:*:*:*:*:*",
"matchCriteriaId": "EC4F49A3-B5D0-447C-859E-C415280040C6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:0.9.1:*:*:*:*:*:*:*",
"matchCriteriaId": "A65A3088-D28E-4781-8374-FC7B9A97CAFD",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.2:*:*:*:*:*:*:*",
"matchCriteriaId": "39902E97-2937-48F5-8FDE-5C8F030FA8DF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.3:*:*:*:*:*:*:*",
"matchCriteriaId": "27E9A887-ACB1-4602-8E5D-D82361E93E3D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.5.2:*:*:*:*:*:*:*",
"matchCriteriaId": "B0DB6484-06C5-4E74-B0FA-198523C60C04",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.6:*:*:*:*:*:*:*",
"matchCriteriaId": "0CA90DC8-6C72-4925-99B9-C7341ED94952",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:1.6.1:*:*:*:*:*:*:*",
"matchCriteriaId": "FAA8C532-04F2-4F61-86AD-5289C9E605EC",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.0.1:*:*:*:*:*:*:*",
"matchCriteriaId": "AEB6ED07-C176-496D-B9CA-F24933D71999",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.1.1:*:*:*:*:*:*:*",
"matchCriteriaId": "1A223BB3-DD5A-48C9-9C82-5D1C4F122828",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.1.2:*:*:*:*:*:*:*",
"matchCriteriaId": "C14973EE-5A2E-4935-8D29-594761502D72",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.1.3:*:*:*:*:*:*:*",
"matchCriteriaId": "3E502388-0A87-4503-8EC9-8A43E8BF43E9",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.2.1:*:*:*:*:*:*:*",
"matchCriteriaId": "A3CD168A-2180-44C8-8784-3B32589904BB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.2.2:*:*:*:*:*:*:*",
"matchCriteriaId": "EB30EAAD-5CF0-41DD-909B-C6AD94D88ABB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.2.3:*:*:*:*:*:*:*",
"matchCriteriaId": "569FAD3A-17DF-424A-AF93-B0720D48D6B6",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.1:*:*:*:*:*:*:*",
"matchCriteriaId": "0BD8ED56-5568-4461-B94A-0B5C1EF8C01A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.2:*:*:*:*:*:*:*",
"matchCriteriaId": "396FFF60-8F61-43E5-BF0C-A0C319714247",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.3:*:*:*:*:*:*:*",
"matchCriteriaId": "75872F94-A537-4E57-8325-3426DB5D6C75",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.4:*:*:*:*:*:*:*",
"matchCriteriaId": "6A038A64-E659-47BB-B2C6-8FD151684CBB",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.5:*:*:*:*:*:*:*",
"matchCriteriaId": "A82F7C03-C9D3-4B83-AF74-30981EC25431",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.3.7:*:*:*:*:*:*:*",
"matchCriteriaId": "02839080-EFB1-4F63-9D4E-45E26D82ECF5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.1:*:*:*:*:*:*:*",
"matchCriteriaId": "00C353D0-C579-4C0B-AD7D-9E56353F2BF5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.2:*:*:*:*:*:*:*",
"matchCriteriaId": "7FB87E45-DBC2-4D0F-B4E9-38585D2F92A4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.3:*:*:*:*:*:*:*",
"matchCriteriaId": "976E5CD0-3A1E-43E6-9C34-B8F1EE1AB863",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.4:*:*:*:*:*:*:*",
"matchCriteriaId": "179EDC23-2328-4BB6-98D5-7C1A975A0C46",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.4.6:*:*:*:*:*:*:*",
"matchCriteriaId": "87B6E723-EC9D-44EF-9DB8-8A229E0ABBB5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.1:*:*:*:*:*:*:*",
"matchCriteriaId": "12D3CD4F-0C58-46F4-939D-FDF19BC98729",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.2:*:*:*:*:*:*:*",
"matchCriteriaId": "6D13FC75-3979-40A8-A1FE-EF86EB15C8A7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.3:*:*:*:*:*:*:*",
"matchCriteriaId": "78AE8C3C-53A1-408A-BA23-1EBA1E6A0E4C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.5.4:*:*:*:*:*:*:*",
"matchCriteriaId": "DA59C66F-E469-42C1-9745-330E35AE5A26",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:2.6.1:*:*:*:*:*:*:*",
"matchCriteriaId": "244740D0-CACA-4607-964C-F0F46153653D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.2:*:*:*:*:*:*:*",
"matchCriteriaId": "BA3487C5-05AD-4553-B123-45F0A51BBA3C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.3:*:*:*:*:*:*:*",
"matchCriteriaId": "486AB201-5BE7-4947-B18B-DA8F86E5D626",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.4:*:*:*:*:*:*:*",
"matchCriteriaId": "E852D2C6-D744-4311-97B3-CAEF073D6585",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.5:*:*:*:*:*:*:*",
"matchCriteriaId": "845FBD14-4175-49F1-B762-4F550CEF5B0D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.6.6:*:*:*:*:*:*:*",
"matchCriteriaId": "84E7646B-BC7C-4ED6-925B-268291F31610",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:python:python:2.7.1:*:*:*:*:*:*:*",
"matchCriteriaId": "8CE2063E-5B74-4731-885F-80D2D7B15604",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.7.1:rc1:*:*:*:*:*:*",
"matchCriteriaId": "FC647F82-9679-4B26-AFF1-1B43B0AF18B5",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:python:python:2.7.2:rc1:*:*:*:*:*:*",
"matchCriteriaId": "046BCC55-F166-4C31-AB2B-815A0DFA2BEE",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "La funci\u00f3n list_directory en lib/SimpleHTTPServer.py en SimpleHTTPServer en Python anterior a v2.5.6c1, v2.6.x anterior a v2.6.7 RC2, y v2.7.x anterior a v2.7.2 no pone un par\u00e1metro charset en la cabecera Content-Type de HTTP, lo que hace m\u00e1s f\u00e1cil para los atacantes remotos realizar ataques XSS contra Internet Explorer 7 a trav\u00e9s de codificaci\u00f3n UTF-7."
}
],
"id": "CVE-2011-4940",
"lastModified": "2026-04-29T01:13:23.040",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "LOW",
"cvssData": {
"accessComplexity": "HIGH",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 2.6,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:H/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 4.9,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
]
},
"published": "2012-06-27T10:18:36.433",
"references": [
{
"source": "secalert@redhat.com",
"url": "http://bugs.python.org/issue11442"
},
{
"source": "secalert@redhat.com",
"url": "http://jvn.jp/en/jp/JVN51176027/index.html"
},
{
"source": "secalert@redhat.com",
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063"
},
{
"source": "secalert@redhat.com",
"url": "http://secunia.com/advisories/50858"
},
{
"source": "secalert@redhat.com",
"url": "http://secunia.com/advisories/51024"
},
{
"source": "secalert@redhat.com",
"url": "http://secunia.com/advisories/51040"
},
{
"source": "secalert@redhat.com",
"url": "http://www.securityfocus.com/bid/54083"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1592-1"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1596-1"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1613-1"
},
{
"source": "secalert@redhat.com",
"url": "http://www.ubuntu.com/usn/USN-1613-2"
},
{
"source": "secalert@redhat.com",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=803500"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://bugs.python.org/issue11442"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://jvn.jp/en/jp/JVN51176027/index.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://secunia.com/advisories/50858"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://secunia.com/advisories/51024"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://secunia.com/advisories/51040"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.securityfocus.com/bid/54083"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1592-1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1596-1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1613-1"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://www.ubuntu.com/usn/USN-1613-2"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=803500"
}
],
"sourceIdentifier": "secalert@redhat.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2025-11-21T12:52:23+00:00",
"cve": "CVE-2011-4940",
"id": "CVE-2011-4940",
"initial_release_date": "2011-03-08T00:00:00+00:00",
"product_status:fixed": "340",
"product_status:known_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "python: potential XSS in SimpleHTTPServer\u0027s list_directory()",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2011/cve-2011-4940.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "low",
"current_release_date": "2023-02-15T05:49:38Z",
"cve": "CVE-2011-4940",
"id": "CVE-2011-4940",
"initial_release_date": "2023-02-15T05:49:38Z",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2011-4940",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2011-4940.json",
"version": "2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…