Information disclosure in Python - CVE-2011-1015
Published: May 10, 2011 / Updated: August 11, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
The is_cgi method in CGIHTTPServer.py in the CGIHTTPServer module in Python 2.5, 2.6, and 3.0 allows remote attackers to read script source code via an HTTP GET request that lacks a / (slash) character at the beginning of the URI.
Affected software
Gentoo Linux
dev-lang/python
How to mitigate CVE-2011-1015
External References
- http://bugs.python.org/issue2254
- http://hg.python.org/cpython/rev/c6c4398293bd/
- http://openwall.com/lists/oss-security/2011/02/23/27
- http://openwall.com/lists/oss-security/2011/02/24/10
- http://secunia.com/advisories/50858
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://securitytracker.com/id?1025489
- http://svn.python.org/view?view=revision&revision=71303
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:096
- http://www.securityfocus.com/bid/46541
- http://www.ubuntu.com/usn/USN-1596-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- https://bugzilla.redhat.com/show_bug.cgi?id=680094