Improper handling of Host headers in Django CSRF protection
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v4.0
- Published:
- Updated:
- EPSS:
- 1.093%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:djangoproject | django | Affected versions:≤ 1.2.6Show full version range for django0.910.950.95.10.961.01.0.11.0.21.11.1.01.1.21.1.31.21.2.11.2.21.2.31.2.41.2.51.3 |
| Vendor:Debian | python-djangoEnvironments (4)
| Affected versions: < 1.3.1-1 |
| Vendor:Debian | python-django-docEnvironments (4)
| Affected versions: < 1.3.1-1 |
| Vendor:pypi | django | Affected versions:< 1.2.7Show full version range for django≥ 1.3, < 1.3.1≤ 1.2.7≥ 1.3, ≤ 1.3.1 |
1–4 of 4 · Page 1 of 1
CVSS scores and metrics4
pypi · Wazuh CTI (adp)Primary8.7 / 10HighCVSS 4.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Attack requirements
- None
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:Npypi · Wazuh CTI (adp)7.5 / 10HighCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N[email protected] · NVD (Primary)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences