6.4
MEDIUM
CVE-2011-1521
Apache HTTP Server URL Redirection File Path Disclosure Vulnerability
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.

INFO

Published Date :

May 24, 2011, 11:55 p.m.

Last Modified :

April 11, 2025, 12:51 a.m.

Remotely Exploitable :

Yes !

Impact Score :

4.9

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2011-1521 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2011-1521.

URL Resource
http://bugs.python.org/issue11662 Patch
http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS
http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS
http://hg.python.org/cpython/rev/96a6c128822b/ Patch
http://hg.python.org/cpython/rev/b2934d98dac1/ Patch
http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
http://openwall.com/lists/oss-security/2011/03/24/5
http://openwall.com/lists/oss-security/2011/03/28/2
http://openwall.com/lists/oss-security/2011/09/11/1
http://openwall.com/lists/oss-security/2011/09/13/2
http://openwall.com/lists/oss-security/2011/09/15/5
http://secunia.com/advisories/50858
http://secunia.com/advisories/51024
http://secunia.com/advisories/51040
http://securitytracker.com/id?1025488
http://support.apple.com/kb/HT5002
http://www.mandriva.com/security/advisories?name=MDVSA-2011:096
http://www.ubuntu.com/usn/USN-1592-1
http://www.ubuntu.com/usn/USN-1596-1
http://www.ubuntu.com/usn/USN-1613-1
http://www.ubuntu.com/usn/USN-1613-2
https://bugzilla.redhat.com/show_bug.cgi?id=690560 Patch
https://bugzilla.redhat.com/show_bug.cgi?id=737366
https://www.djangoproject.com/weblog/2011/sep/09/
https://www.djangoproject.com/weblog/2011/sep/10/127/
http://bugs.python.org/issue11662 Patch
http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS
http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS
http://hg.python.org/cpython/rev/96a6c128822b/ Patch
http://hg.python.org/cpython/rev/b2934d98dac1/ Patch
http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
http://openwall.com/lists/oss-security/2011/03/24/5
http://openwall.com/lists/oss-security/2011/03/28/2
http://openwall.com/lists/oss-security/2011/09/11/1
http://openwall.com/lists/oss-security/2011/09/13/2
http://openwall.com/lists/oss-security/2011/09/15/5
http://secunia.com/advisories/50858
http://secunia.com/advisories/51024
http://secunia.com/advisories/51040
http://securitytracker.com/id?1025488
http://support.apple.com/kb/HT5002
http://www.mandriva.com/security/advisories?name=MDVSA-2011:096
http://www.ubuntu.com/usn/USN-1592-1
http://www.ubuntu.com/usn/USN-1596-1
http://www.ubuntu.com/usn/USN-1613-1
http://www.ubuntu.com/usn/USN-1613-2
https://bugzilla.redhat.com/show_bug.cgi?id=690560 Patch
https://bugzilla.redhat.com/show_bug.cgi?id=737366
https://www.djangoproject.com/weblog/2011/sep/09/
https://www.djangoproject.com/weblog/2011/sep/10/127/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2011-1521 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2011-1521 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://bugs.python.org/issue11662
    Added Reference http://hg.python.org/cpython/file/96a6c128822b/Misc/NEWS
    Added Reference http://hg.python.org/cpython/file/b2934d98dac1/Misc/NEWS
    Added Reference http://hg.python.org/cpython/rev/96a6c128822b/
    Added Reference http://hg.python.org/cpython/rev/b2934d98dac1/
    Added Reference http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html
    Added Reference http://openwall.com/lists/oss-security/2011/03/24/5
    Added Reference http://openwall.com/lists/oss-security/2011/03/28/2
    Added Reference http://openwall.com/lists/oss-security/2011/09/11/1
    Added Reference http://openwall.com/lists/oss-security/2011/09/13/2
    Added Reference http://openwall.com/lists/oss-security/2011/09/15/5
    Added Reference http://secunia.com/advisories/50858
    Added Reference http://secunia.com/advisories/51024
    Added Reference http://secunia.com/advisories/51040
    Added Reference http://securitytracker.com/id?1025488
    Added Reference http://support.apple.com/kb/HT5002
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2011:096
    Added Reference http://www.ubuntu.com/usn/USN-1592-1
    Added Reference http://www.ubuntu.com/usn/USN-1596-1
    Added Reference http://www.ubuntu.com/usn/USN-1613-1
    Added Reference http://www.ubuntu.com/usn/USN-1613-2
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=690560
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=737366
    Added Reference https://www.djangoproject.com/weblog/2011/sep/09/
    Added Reference https://www.djangoproject.com/weblog/2011/sep/10/127/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 25, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.7:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:2.7.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 25, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.6:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:2.6.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 25, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.5:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:2.5.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 25, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:2.4.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 25, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:python:python:2.3:*:*:*:*:*:*:* OR *cpe:2.3:a:python:python:2.3.0:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    May. 25, 2011

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2011-1521 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2011-1521 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.29 }} -2.38%

score

0.83253

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability