RCE in Djangoproject Django
CVE-2014-0472
The django.core.urlresolvers.reverse function in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 allows remote attackers to import and execute arbitrary Python modules by leveraging a view that constructs URLs using user input and a "dotted Python path."
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.1 (Medium). Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.058, 93.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django — versions 1.4, 1.4.1, 1.4.2
- Canonical Ubuntu Linux — versions 10.04, 12.04, 12.10
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- christasa/CVE-2014-0472 (7 stars, last pushed 2020-12-24): CVE-2014-0472 Django unexpected code execution using reverse()
Also mentioned in 5 other repositories (ediskandarov-cur/django-vulnerable, ediskandarov/django-vulnerable, emcpow2/django-vulnerable, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-2169-1 (vendor-advisory)
- www.djangoproject.com/weblog/2014/apr/21/security/ (Vendor Advisory)
- RHSA-2014:0457 (vendor-advisory)
- secunia.com/advisories/61281 (third-party-advisory)
- DSA-2934 (vendor-advisory)
- openSUSE-SU-2014:1132 (vendor-advisory)
- RHSA-2014:0456 (vendor-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.