CVE-2011-4140
HIGH7.5EPSS 0.34%Django Cross-Site Request Forgery vulnerability
Published: 7/23/2018Modified: 4/28/2026
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.
Affected packages (3)
- Debian/python-djangofrom 0, < 1.3.1-1
- PyPI/djangofrom 0, <= 1.2.7
- PyPI/djangofrom 0, < 1.2.7, >= 1.3, < 1.3.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (16)
- ADVISORYhttp://secunia.com/advisories/46614
- ADVISORYhttps://github.com/advisories/GHSA-h95j-h2rv-qrg4
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2011-4140
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2011-4140
- ADVISORYhttps://www.djangoproject.com/weblog/2011/sep/09/
- ADVISORYhttps://www.djangoproject.com/weblog/2011/sep/10/127/
- PATCHhttps://github.com/django/django
- WEBhttp://openwall.com/lists/oss-security/2011/09/11/1
- WEBhttp://openwall.com/lists/oss-security/2011/09/13/2
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=737366
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-5.yaml
- WEBhttps://hermes.opensuse.org/messages/14700881
- WEBhttps://web.archive.org/web/20140806062902/http://secunia.com/advisories/46614
- WEBhttps://www.djangoproject.com/weblog/2011/sep/09
- WEBhttps://www.djangoproject.com/weblog/2011/sep/10/127
- WEBhttp://www.debian.org/security/2011/dsa-2332