Cross-site Request Forgery (CSRF) Affecting python-django package, versions <1.3.1-1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIANUNSTABLE-PYTHONDJANGO-361135
- published 19 Oct 2011
- disclosed 19 Oct 2011
Introduced: 19 Oct 2011
CVE-2011-4140 Open this link in a new tabHow to fix?
Upgrade Debian:unstable
python-django
to version 1.3.1-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream python-django
package and not the python-django
package as distributed by Debian
.
See How to fix?
for Debian:unstable
relevant fixed versions and status.
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
- https://security-tracker.debian.org/tracker/CVE-2011-4140
- http://www.debian.org/security/2011/dsa-2332
- https://hermes.opensuse.org/messages/14700881
- https://www.djangoproject.com/weblog/2011/sep/09/
- https://www.djangoproject.com/weblog/2011/sep/10/127/
- http://openwall.com/lists/oss-security/2011/09/11/1
- http://openwall.com/lists/oss-security/2011/09/13/2
- https://bugzilla.redhat.com/show_bug.cgi?id=737366
- http://secunia.com/advisories/46614