Information disclosure in Python - CVE-2011-1015

 

Information disclosure in Python - CVE-2011-1015

Published: May 10, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45053
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2011-1015
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Python
Gentoo Linux
Ubuntu
python2.4 (Ubuntu package)
python2.4-minimal (Ubuntu package)
python2.5-minimal (Ubuntu package)
python2.5 (Ubuntu package)
python2.6 (Ubuntu package)
python2.6-minimal (Ubuntu package)
dev-lang/python

How to mitigate CVE-2011-1015

Install update from vendor's website.

python2.4 (Ubuntu package) - update to 2.4.5-1ubuntu4.4
python2.4-minimal (Ubuntu package) - update to 2.4.5-1ubuntu4.4
python2.5-minimal (Ubuntu package) - update to 2.5.2-2ubuntu6.2
python2.5 (Ubuntu package) - update to 2.5.2-2ubuntu6.2
python2.6 (Ubuntu package) - addressed in versions 2.6.5-1ubuntu6.1, 2.6.6-6ubuntu7.1, 2.6.7-4ubuntu1.1
python2.6-minimal (Ubuntu package) - addressed in versions 2.6.5-1ubuntu6.1, 2.6.6-6ubuntu7.1, 2.6.7-4ubuntu1.1
dev-lang/python - update to 3.3.2-r1

External References

Related Security Bulletins