CVEvulnerability
CVE-2011-4138
5.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2011-10-19
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-20
Description
The verify_exists functionality in the URLField implementation in Django before 1.2.7 and 1.3.x before 1.3.1 originally tests a URL's validity through a HEAD request, but then uses a GET request for the new target URL in the case of a redirect, which might allow remote attackers to trigger arbitrary GET requests with an unintended source IP address via a crafted Location header.
Affected configurations
• djangoproject django (<= 1.2.6)
• djangoproject django 0.91
• djangoproject django 0.95
• djangoproject django 0.95.1
• djangoproject django 0.96
• djangoproject django 1.0
• djangoproject django 1.0.1
• djangoproject django 1.0.2
• djangoproject django 1.1
• djangoproject django 1.1.0
• djangoproject django 1.1.2
• djangoproject django 1.1.3
• djangoproject django 1.2
• djangoproject django 1.2.1
• djangoproject django 1.2.2
• djangoproject django 1.2.3
• djangoproject django 1.2.4
• djangoproject django 1.2.5
• djangoproject django 1.3
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://openwall.com/lists/oss-security/2011/09/11/1 Patch
- http://openwall.com/lists/oss-security/2011/09/13/2 Patch
- http://secunia.com/advisories/46614 secunia.com
- http://www.debian.org/security/2011/dsa-2332 www.debian.org
- https://bugzilla.redhat.com/show_bug.cgi?id=737366 Patch
- https://hermes.opensuse.org/messages/14700881 hermes.opensuse.org
- https://www.djangoproject.com/weblog/2011/sep/09/ Patch, Vendor Advisory
- https://www.djangoproject.com/weblog/2011/sep/10/127/ Patch
- http://openwall.com/lists/oss-security/2011/09/11/1 Patch
- http://openwall.com/lists/oss-security/2011/09/13/2 Patch
- http://secunia.com/advisories/46614 secunia.com
- http://www.debian.org/security/2011/dsa-2332 www.debian.org
- https://bugzilla.redhat.com/show_bug.cgi?id=737366 Patch
- https://hermes.opensuse.org/messages/14700881 hermes.opensuse.org
- https://www.djangoproject.com/weblog/2011/sep/09/ Patch, Vendor Advisory
- https://www.djangoproject.com/weblog/2011/sep/10/127/ Patch