Files
CVEs-PoC/2011/CVE-2011-1521.md
T
2025-09-29 21:09:30 +02:00

19 lines
865 B
Markdown

### [CVE-2011-1521](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1521)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### Description
The urllib and urllib2 modules in Python 2.x before 2.7.2 and 3.x before 3.2.1 process Location headers that specify redirection to file: URLs, which makes it easier for remote attackers to obtain sensitive information or cause a denial of service (resource consumption) via a crafted URL, as demonstrated by the file:///etc/passwd and file:///dev/zero URLs.
### POC
#### Reference
- http://www.ubuntu.com/usn/USN-1592-1
- http://www.ubuntu.com/usn/USN-1613-2
#### Github
No PoCs found on GitHub currently.