CVE-2011-4140
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.3.1-1 |
| sid | Fixed | 1.3.1-1 |
| forky | Fixed | 1.3.1-1 |
| bullseye | Fixed | 1.3.1-1 |
| bookworm | Fixed | 1.3.1-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| djangoproject | django | {"endIncluding":"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 | |
References
- http://openwall.com/lists/oss-security/2011/09/11/1
- http://openwall.com/lists/oss-security/2011/09/13/2
- http://secunia.com/advisories/46614
- http://www.debian.org/security/2011/dsa-2332
- https://bugzilla.redhat.com/show_bug.cgi?id=737366
- https://hermes.opensuse.org/messages/14700881
- https://www.djangoproject.com/weblog/2011/sep/09/
- https://www.djangoproject.com/weblog/2011/sep/10/127/
- https://nvd.nist.gov/vuln/detail/CVE-2011-4140
- https://github.com/advisories/GHSA-h95j-h2rv-qrg4
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-5.yaml
- https://web.archive.org/web/20140806062902/http://secunia.com/advisories/46614
- https://www.djangoproject.com/weblog/2011/sep/09
- https://www.djangoproject.com/weblog/2011/sep/10/127
- https://security-tracker.debian.org/tracker/CVE-2011-4140
CWEs
CWE-352
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.