Input validation error in Django - CVE-2012-4520

 

Input validation error in Django - CVE-2012-4520

Published: November 19, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43328
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4520
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


Affected software

Django
Fedora
Django
Django14

How to mitigate CVE-2012-4520

Install update from vendor's website.

Django - update to 1.3.4-1.el6
Django14 - update to 1.4.2-1.el6

External References

Related Security Bulletins