CVE-2012-4520
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.66% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 89.1% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-16.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2012-11-18 23:00Z13 YR AGO
- Last updated
- 2024-08-06 20:42Z2 YR AGO
- Reserved
- 2012-08-21
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-20Improper Input ValidationClass
- Data version
- 5.1
- Document digest
- 0312dd9ec0ed8463fd7c51646bcacdbefdc06811421dccce2dfea5b659a379f1
05 Affected products
06 References
- www.openwall.com[oss-security] 20121029 Re: CVE Request: Djangohttp://www.openwall.com/lists/oss-security/2012/10/30/4
- securitytracker.com1027708http://securitytracker.com/id?1027708
- github.comhttps://github.com/django/django/commit/b45c377f8f488955e0c7069cad3f3dd21910b071
- www.osvdb.org86493http://www.osvdb.org/86493
- secunia.com51314http://secunia.com/advisories/51314
- bugs.debian.orghttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691145
- lists.fedoraproject.orgFEDORA-2012-16440http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090970.html
- ubuntu.comUSN-1757-1http://ubuntu.com/usn/usn-1757-1
- github.comhttps://github.com/django/django/commit/92d3430f12171f16f566c9050c40feefb830a4a3
- www.debian.orgDSA-2634http://www.debian.org/security/2013/dsa-2634
- www.djangoproject.comhttps://www.djangoproject.com/weblog/2012/oct/17/security/
- lists.fedoraproject.orgFEDORA-2012-16417http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090904.html
- github.comhttps://github.com/django/django/commit/9305c0e12d43c4df999c3301a1f0c742264a657e
- secunia.com51033http://secunia.com/advisories/51033
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=865164
- lists.fedoraproject.orgFEDORA-2012-16406http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090666.html
- ubuntu.comUSN-1632-1http://ubuntu.com/usn/usn-1632-1
07 Fixed in
Debian 12
- python-django Fixed in 1.4.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- python-django Fixed in 1.4.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- python-django Fixed in 1.4.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.