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.
Published: 2012-11-18
Score: 6.4 Medium
EPSS: 3.9% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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.

Subscriptions

Djangoproject Django
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

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

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

Link: CVE-2012-4520

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2026-04-29T01:13:23.040

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.

Weaknesses