Unscored severity · published Jun 27, 2012
CVE-2011-4940
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…
–
CVSS
3.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)3.2% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
Python · Python
through 2.5.6; 0.9.0; 0.9.1; 1.2; 1.3; 1.5.2; +33 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2011-4940
CVE.org
https://www.cve.org/CVERecord?id=CVE-2011-4940
bugs.python.org
http://bugs.python.org/issue11442
jvn.jp
http://jvn.jp/en/jp/JVN51176027/index.html
jvndb.jvn.jp
http://jvndb.jvn.jp/jvndb/JVNDB-2012-000063
secunia.com
http://secunia.com/advisories/50858
secunia.com
http://secunia.com/advisories/51024
secunia.com
http://secunia.com/advisories/51040
More from Python
9.8
CVE-2022-48565
An XML External Entity (XXE) issue was discovered in Python through 3.9.1
9.8
CVE-2022-37454
The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate…
9.8
CVE-2021-29921
In Python before 3,9,5, the ipaddress library mishandles leading zero characters in the octets of an IP address string
9.8
CVE-2021-3177
Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept…
9.8
CVE-2020-27619
In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP
