First published: Wed Oct 19 2011(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/Django | >=1.3<=1.3.1 | |
pip/Django | <=1.2.7 | |
Django | <=1.2.6 | |
Django | =0.91 | |
Django | =0.95 | |
Django | =0.95.1 | |
Django | =0.96 | |
Django | =1.0 | |
Django | =1.0.1 | |
Django | =1.0.2 | |
Django | =1.1 | |
Django | =1.1.0 | |
Django | =1.1.2 | |
Django | =1.1.3 | |
Django | =1.2 | |
Django | =1.2.1 | |
Django | =1.2.1-2 | |
Django | =1.2.2 | |
Django | =1.2.3 | |
Django | =1.2.4 | |
Django | =1.2.5 | |
Django | =1.3 | |
Django | =1.3-alpha1 | |
Django | =1.3-alpha2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2011-4140 is classified as a medium severity vulnerability.
To fix CVE-2011-4140, upgrade Django to version 1.3.2 or later.
CVE-2011-4140 affects Django versions from 0.91 to 1.3.1, including several intermediate versions.
Yes, CVE-2011-4140 can allow attackers to make unauthenticated forged requests, potentially leading to unauthorized access.
A potential workaround includes configuring your web server to sanitize HTTP Host headers, although upgrading is strongly recommended.