Description
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.
Metrics
CVSS 2.0 5.0/10
AV:N/AC:L/Au:N/C:P/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://bugs.python.org/issue2254Exploit, Patch
- http://hg.python.org/cpython/rev/c6c4398293bd/Patch
- http://openwall.com/lists/oss-security/2011/02/23/27Exploit, Patch
- http://openwall.com/lists/oss-security/2011/02/24/10Exploit, Patch
- 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=71303Patch
- 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=680094Exploit, Patch
- http://bugs.python.org/issue2254Exploit, Patch
- http://hg.python.org/cpython/rev/c6c4398293bd/Patch
- http://openwall.com/lists/oss-security/2011/02/23/27Exploit, Patch
- http://openwall.com/lists/oss-security/2011/02/24/10Exploit, Patch
- 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=71303Patch
- 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=680094Exploit, Patch
Timeline
- Published
- May 9, 2011
- Last modified
- Jun 16, 2026
- NVD status
- Modified