File URL Redirection Vulnerability in urllib and urllib2 Modules

File URL Redirection Vulnerability in urllib and urllib2 Modules

CVE-2011-1521 · MEDIUM Severity

AV:N/AC:L/AU:N/C:P/I:N/A:P

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.

Learn more about our Web Application Penetration Testing UK.