CVEvulnerability

CVE-2012-4520

6.4 MEDIUM Published 2012-11-18 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-11-18
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.4 MEDIUM — AV:N/AC:L/Au:N/C:P/I:P/A:N
Weaknesses
CWE-20

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.

Affected configurations

• djangoproject django 1.3 • djangoproject django 1.3.1 • djangoproject django 1.3.2 • djangoproject django 1.3.3 • djangoproject django 1.4 • djangoproject django 1.4.1

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References