A vulnerability has been discovered in Python, which can be exploited by malicious people to disclose sensitive information.
The vulnerability is caused due to the "CGIHTTPServer" module incorrectly handling HTTP requests to scripts in the "cgi-bin" directory without e.g. "/" at the beginning of the URI. This can be exploited to retrieve the source code of CGI scripts by sending specially crafted requests to the server.
The vulnerability is confirmed in version 2.6.6. Other versions may also be affected.
Solution: Fixed in the SVN repository and version 2.7 and later.
Provided and/or discovered by: Reported by m.sucajtys in a Python bug.
Original Advisory: Python Bug 2254:
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org