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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-2634-1 python-django security update
EUVD EUVD EUVD-2012-0006 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.
Github GHSA Github GHSA GHSA-2655-q453-22f9 Django Allows Arbitrary URL Generation
Ubuntu USN Ubuntu USN USN-1632-1 Django vulnerability
Ubuntu USN Ubuntu USN USN-1757-1 Django vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-06T20:42:53.672Z

Reserved: 2012-08-21T00:00:00

Link: CVE-2012-4520

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2012-11-18T23:55:01.040

Modified: 2025-04-11T00:51:21.963

Link: CVE-2012-4520

cve-icon Redhat

Severity : Moderate

Publid Date: 2012-10-17T00:00:00Z

Links: CVE-2012-4520 - Bugzilla

cve-icon OpenCVE Enrichment

No data.