CVE-2012-4520
Django HttpRequest.get_host allows arbitrary URL generation via crafted Host header
Multiple products
At a glance
The django.http.HttpRequest.get_host function in Django 1.3.x before 1.3.4 and 1.4.x before 1.4.2 allows remote attackers to generate and display arbitrary URLs via crafted username and password Host header values.
Source description · CVE List / CNA
System impact
Attack complexityLow
ConfidentialityNone
IntegrityHigh
AvailabilityNone
CVSS summary v4.0
8.7High
- Published:
- Updated:
- EPSS:
- 3.736%
- 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.3Show full version range for django1.3.11.3.21.3.31.41.4.1 |
| Vendor:Debian | python-djangoEnvironments (4)
| Affected versions: < 1.4.2-1 |
| Vendor:Debian | python-django-docEnvironments (4)
| Affected versions: < 1.4.2-1 |
| Vendor:pypi | django | Affected versions:≥ 1.3, < 1.3.4Show full version range for django≥ 1.4, < 1.4.21.01.11.21.2.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.4 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Nnvd · Wazuh CTI (cna)6.4 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories35
- CVE List / CNA
- nvd.nist.gov
- Wazuh CTI
- FIRST EPSS
- securitytracker.com
- openwall.com
- debian.org
- djangoproject.com
- bugzilla.redhat.com
- lists.fedoraproject.org
- ubuntu.com
- github.com
- lists.fedoraproject.org
- ubuntu.com
- bugs.debian.org
- lists.fedoraproject.org
- github.com
- secunia.com
- github.com
- osvdb.org
- secunia.com
- security-tracker.debian.org
- github.com
- web.archive.org
- debian.org
- djangoproject.com
- openwall.com
- bugs.debian.org
- github.com
- github.com
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- ubuntu.com
- ubuntu.com
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