django up to 1.4.1 django.http.HttpRequest.get_host input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.2$0-$5k0.00

Summaryinfo

A vulnerability identified as problematic has been detected in django up to 1.4.1. The affected element is the function django.http.HttpRequest.get_host. The manipulation leads to input validation. This vulnerability is documented as CVE-2012-4520. The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in django up to 1.4.1 (Content Management System). It has been rated as problematic. This issue affects the function django.http.HttpRequest.get_host. The manipulation with an unknown input leads to a input validation vulnerability. Using CWE to declare the problem leads to CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. Impacted is confidentiality, and integrity. The summary by CVE is:

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.

The weakness was released 11/18/2012 (Website). The advisory is shared at djangoproject.com. The identification of this vulnerability is CVE-2012-4520 since 08/21/2012. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 75089 (openSUSE Security Update : python-django (openSUSE-SU-2013:1203-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 166454 (OpenSuSE Security Update for python-django to 1.4.5 (openSUSE-SU-2013:1248-1)).

Upgrading to version 1.3.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (79478), Tenable (75089), SecurityFocus (BID 56146†), OSVDB (86493†) and Secunia (SA51033†). Entries connected to this vulnerability are available at VDB-7758, VDB-64070 and VDB-64069. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 5.2

VulDB Base Score: 5.4
VulDB Temp Score: 5.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 75089
Nessus Name: openSUSE Security Update : python-django (openSUSE-SU-2013:1203-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892634
OpenVAS Name: Debian Security Advisory DSA 2634-1 (python-django - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: django 1.3.2
Patch: github.com

Timelineinfo

08/21/2012 🔍
10/17/2012 +57 days 🔍
10/19/2012 +2 days 🔍
10/30/2012 +11 days 🔍
10/31/2012 +1 days 🔍
11/18/2012 +18 days 🔍
11/18/2012 +0 days 🔍
06/13/2014 +572 days 🔍
03/24/2015 +284 days 🔍
12/20/2021 +2463 days 🔍

Sourcesinfo

Product: github.com

Advisory: usn-1632-1
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-4520 (🔍)
GCVE (CVE): GCVE-0-2012-4520
GCVE (VulDB): GCVE-100-62981

OVAL: 🔍

X-Force: 79478
SecurityFocus: 56146 - Django 'HttpRequest.get_host()' Information Disclosure Vulnerability
Secunia: 51033
OSVDB: 86493
SecurityTracker: 1027708 - Django Host Header Filtering Bug Lets Remote Users Cuase Arbitrary URLs to be Displayed
Vulnerability Center: 36893 - Django 1.3.x and 1.4.x Remote Information Disclosure Vulnerability, Medium

See also: 🔍

Entryinfo

Created: 03/24/2015 12:22
Updated: 12/20/2021 07:34
Changes: 03/24/2015 12:22 (71), 04/20/2017 13:50 (10), 12/20/2021 07:22 (4), 12/20/2021 07:27 (1), 12/20/2021 07:34 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!