django up to 1.4.1 django.http.HttpRequest.get_host input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
Website
- Product: https://github.com/django/django/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.4
VulDB Temp Score: 5.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Input validationCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: django 1.3.2
Patch: github.com
Timeline
08/21/2012 🔍10/17/2012 🔍
10/19/2012 🔍
10/30/2012 🔍
10/31/2012 🔍
11/18/2012 🔍
11/18/2012 🔍
06/13/2014 🔍
03/24/2015 🔍
12/20/2021 🔍
Sources
Product: github.comAdvisory: 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: 🔍
Entry
Created: 03/24/2015 12:22Updated: 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.
No comments yet. Languages: en.
Please log in to comment.