Skip to content
Fencer Intel
medium 5.0

CVE-2011-1015 json

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…

published 2011-05-09 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-1032

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.8%
EPSS 3.8% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • python RHEL 6 2.6.6-20.el6
  • tkinter RHEL 6 2.6.6-20.el6
  • python-libs RHEL 6 2.6.6-20.el6
  • python-test RHEL 6 2.6.6-20.el6
  • python-tools RHEL 6 2.6.6-20.el6
  • python RHEL 5 2.4.3-44.el5
  • tkinter RHEL 5 2.4.3-44.el5
  • python-libs RHEL 5 2.4.3-44.el5

red hat advisories RHSA-2011:0554RHSA-2011:0492RHSA-2011:0491

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2011-1015 updated cvss 5.0

(CGIHTTPServer): CGI script source code disclosure

  • Red Hat Enterprise Linux (v. 5 server) python 2.4.3-44.el5, tkinter 2.4.3-44.el5, python-libs 2.4.3-44.el5, python-tools 2.4.3-44.el5
    fixed: vendor fix RHSA-2011:0492
  • Red Hat Enterprise Linux AS version 4 python 2.3.4-14.10.el4, tkinter 2.3.4-14.10.el4, python-tools 2.3.4-14.10.el4
    fixed: vendor fix RHSA-2011:0491
  • Red Hat Enterprise Linux Desktop (v. 5 client) python 2.4.3-44.el5, tkinter 2.4.3-44.el5, python-libs 2.4.3-44.el5, python-tools 2.4.3-44.el5
    fixed: vendor fix RHSA-2011:0492
  • Red Hat Enterprise Linux Desktop (v. 6) python 2.6.6-20.el6, tkinter 2.6.6-20.el6, python-libs 2.6.6-20.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python 2.6.6-20.el6, python-test 2.6.6-20.el6, python-tools 2.6.6-20.el6
    fixed: vendor fix RHSA-2011:0554
  • Red Hat Enterprise Linux Desktop version 4 python 2.3.4-14.10.el4, tkinter 2.3.4-14.10.el4, python-tools 2.3.4-14.10.el4
    fixed: vendor fix RHSA-2011:0491
  • Red Hat Enterprise Linux Desktop Workstation (v. 5 client) python 2.4.3-44.el5
    fixed: vendor fix RHSA-2011:0492
  • Red Hat Enterprise Linux ES version 4 python 2.3.4-14.10.el4, tkinter 2.3.4-14.10.el4, python-tools 2.3.4-14.10.el4
    fixed: vendor fix RHSA-2011:0491
  • Red Hat Enterprise Linux HPC Node (v. 6) python 2.6.6-20.el6, python-libs 2.6.6-20.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python 2.6.6-20.el6, tkinter 2.6.6-20.el6, python-test 2.6.6-20.el6, python-tools 2.6.6-20.el6 Red Hat Enterprise Linux Server (v. 6) python 2.6.6-20.el6, tkinter 2.6.6-20.el6, python-libs 2.6.6-20.el6 Red Hat Enterprise Linux Server Optional (v. 6) python 2.6.6-20.el6, tkinter 2.6.6-20.el6, python-test 2.6.6-20.el6, python-tools 2.6.6-20.el6 Red Hat Enterprise Linux Workstation (v. 6) python 2.6.6-20.el6, tkinter 2.6.6-20.el6, python-libs 2.6.6-20.el6 Red Hat Enterprise Linux Workstation Optional (v. 6) python 2.6.6-20.el6, python-test 2.6.6-20.el6, python-tools 2.6.6-20.el6
    fixed: vendor fix RHSA-2011:0554
show 1 more
  • Red Hat Enterprise Linux WS version 4 python 2.3.4-14.10.el4, tkinter 2.3.4-14.10.el4, python-tools 2.3.4-14.10.el4
    fixed: vendor fix RHSA-2011:0491

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.80% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=680094 referenced PoC, tagged "exploit" by a source, unverified
  • bugs.python.org http://bugs.python.org/issue2254 referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://openwall.com/lists/oss-security/2011/02/24/10 referenced PoC, tagged "exploit" by a source, unverified
  • openwall.com http://openwall.com/lists/oss-security/2011/02/23/27 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.