CVE-2012-4520

Django: Host header poisoning vulnerability

Published Nov 18, 2012 CVSS 2.0 · 6.4 Medium EPSS 3.7% KEV · Not listed
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 header values.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 8:42 PM
Reserved
Aug 21, 2012, 12:00 AM
Status
Modified
Published
Nov 18, 2012, 11:55 PM
Modified
Jun 16, 2026, 11:45 PM
Severity
Moderate
Public date
Oct 17, 2012, 12:00 AM