Vulnerability advisory
GHSA-h95j-h2rv-qrg4
Django Cross-Site Request Forgery vulnerability
Also known as CVE-2011-4140PYSEC-2011-5
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 CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2011-4140 ↗
- Webbugzilla.redhat.com/show_bug.cgi?id=737366 ↗
- Advisorygithub.com/advisories/GHSA-h95j-h2rv-qrg4 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-5.yaml ↗
- Webhermes.opensuse.org/messages/14700881 ↗
- Webweb.archive.org/web/20140806062902/http://secunia.com/advisories/46614 ↗
- 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 ↗