Code Injection in Django - CVE-2014-0472

 

Code Injection in Django - CVE-2014-0472

Published: April 23, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32540
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-0472
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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."


Affected software

Django
Gentoo Linux
py-django (Alpine package)

How to mitigate CVE-2014-0472

Install update from vendor's website.

Django - update to 1.7
py-django (Alpine package) - update to 1.5.6-r0

External References

Related Security Bulletins