Vulnerability advisory
GHSA-wxg3-mfph-qg9w
Django Might Allow CSRF Requests via URL Verification
Also known as CVE-2011-4138PYSEC-2011-3
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Affected versions
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2011-4138 ↗
- Webgithub.com/django/django/commit/1a76dbefdfc60e2d5954c0ba614c3d054ba9c3f0 ↗
- Webgithub.com/django/django/commit/7268f8af86186518821d775c530d5558fd726930 ↗
- Webbugzilla.redhat.com/show_bug.cgi?id=737366 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-3.yaml ↗
- Webhermes.opensuse.org/messages/14700881 ↗
- Webwww.djangoproject.com/weblog/2011/sep/09 ↗
- Webwww.djangoproject.com/weblog/2011/sep/10/127 ↗
- Webopenwall.com/lists/oss-security/2011/09/11/1 ↗
- Webopenwall.com/lists/oss-security/2011/09/13/2 ↗
- Webwww.debian.org/security/2011/dsa-2332 ↗