{"id":"CVE-2011-4940","state":"PUBLISHED","title":"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 paramet","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.","publishedAt":"2012-06-27T10:00:00.000Z","updatedAt":"2024-08-07T00:23:39.213Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.ubuntu.com/usn/USN-1592-1","http://jvn.jp/en/jp/JVN51176027/index.html","http://secunia.com/advisories/51040","http://secunia.com/advisories/50858","http://bugs.python.org/issue11442","http://www.securityfocus.com/bid/54083","http://www.ubuntu.com/usn/USN-1596-1","http://www.ubuntu.com/usn/USN-1613-2","http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063","https://bugzilla.redhat.com/show_bug.cgi?id=803500","http://secunia.com/advisories/51024","http://www.ubuntu.com/usn/USN-1613-1"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:05.264Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2011/4xxx/CVE-2011-4940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2011-4940","state":"PUBLISHED","datePublished":"2012-06-27T10:00:00.000Z","dateUpdated":"2024-08-07T00:23:39.213Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2011-12-23T00:00:00.000Z"},"containers":{"cna":{"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.ubuntu.com/usn/USN-1592-1","name":"USN-1592-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://jvn.jp/en/jp/JVN51176027/index.html","name":"JVN#51176027","tags":["third-party-advisory","x_refsource_JVN"]},{"url":"http://secunia.com/advisories/51040","name":"51040","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/50858","name":"50858","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://bugs.python.org/issue11442","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/54083","name":"54083","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.ubuntu.com/usn/USN-1596-1","name":"USN-1596-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.ubuntu.com/usn/USN-1613-2","name":"USN-1613-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063","name":"JVNDB-2012-000063","tags":["third-party-advisory","x_refsource_JVNDB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=803500","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/51024","name":"51024","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/USN-1613-1","name":"USN-1613-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2012-10-13T09:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2012-06-19T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.ubuntu.com/usn/USN-1592-1","name":"USN-1592-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://jvn.jp/en/jp/JVN51176027/index.html","name":"JVN#51176027","tags":["third-party-advisory","x_refsource_JVN","x_transferred"]},{"url":"http://secunia.com/advisories/51040","name":"51040","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/50858","name":"50858","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://bugs.python.org/issue11442","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/54083","name":"54083","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1596-1","name":"USN-1596-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1613-2","name":"USN-1613-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063","name":"JVNDB-2012-000063","tags":["third-party-advisory","x_refsource_JVNDB","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=803500","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/51024","name":"51024","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-1613-1","name":"USN-1613-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T00:23:39.213Z"}}]}}}