{"id":"GHSA-wxg3-mfph-qg9w","summary":"Django Might Allow CSRF Requests via URL Verification","details":"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.","aliases":["CVE-2011-4138","PYSEC-2011-3"],"modified":"2024-09-16T22:47:59.430354Z","published":"2022-05-14T03:49:36Z","database_specific":{"nvd_published_at":"2011-10-19T10:55:00Z","cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-01-16T22:48:09Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4138"},{"type":"WEB","url":"https://github.com/django/django/commit/1a76dbefdfc60e2d5954c0ba614c3d054ba9c3f0"},{"type":"WEB","url":"https://github.com/django/django/commit/7268f8af86186518821d775c530d5558fd726930"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=737366"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-3.yaml"},{"type":"WEB","url":"https://hermes.opensuse.org/messages/14700881"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2011/sep/09"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2011/sep/10/127"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2011/09/11/1"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2011/09/13/2"},{"type":"WEB","url":"http://www.debian.org/security/2011/dsa-2332"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.7"}]}],"versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.2","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wxg3-mfph-qg9w/GHSA-wxg3-mfph-qg9w.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3"},{"fixed":"1.3.1"}]}],"versions":["1.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wxg3-mfph-qg9w/GHSA-wxg3-mfph-qg9w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}