Vulnerabilities · 2011 · Python
CVE-2011-1015
Python vulnerability
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 products
Python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.python.org/issue2254 · Exploit
- hg.python.org/cpython/rev/c6c4398293bd/ · Patch
- openwall.com/lists/oss-security/2011/02/23/27 · Exploit
- openwall.com/lists/oss-security/2011/02/24/10 · Exploit
- svn.python.org/view?view=revision&revision=71303 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=680094 · Exploit
- secunia.com/advisories/50858
- secunia.com/advisories/51024
- nvd.nist.gov/vuln/detail/CVE-2011-1015
- cve.org/CVERecord?id=CVE-2011-1015
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.