CVE-2014-0472

LAB

Django <1.4.11, <1.5.6, <1.6.3, <1.7 beta 2 - RCE

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2014-0472. PoCs published by christasa.

AI-analyzed exploit summary This repository demonstrates CVE-2014-0472, a Django vulnerability where arbitrary code execution is achieved via unsafe URL redirection. The exploit leverages Django's `redirect()` function to import and execute malicious code from a module specified in the URL parameter.

Description

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

Exploits (1)

nomisec WORKING POC 7 stars
by christasa · poc
https://github.com/christasa/CVE-2014-0472

This repository demonstrates CVE-2014-0472, a Django vulnerability where arbitrary code execution is achieved via unsafe URL redirection. The exploit leverages Django's `redirect()` function to import and execute malicious code from a module specified in the URL parameter.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Django (versions affected by CVE-2014-0472)
No auth needed
Prerequisites: Django application with vulnerable `redirect()` usage · Ability to send crafted HTTP requests to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2169-1
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-0457.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/61281
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2014/dsa-2934
Mailing List vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-0456.html

Scores

EPSS 0.0689
EPSS Percentile 91.6%

Lab Environment

COMMUNITY
Community Lab

Details

CWE
CWE-94
Status published
Products (27)
canonical/ubuntu_linux 10.04
canonical/ubuntu_linux 12.04
canonical/ubuntu_linux 12.10
canonical/ubuntu_linux 13.10
canonical/ubuntu_linux 14.04
djangoproject/django 1.4
djangoproject/django 1.4.1
djangoproject/django 1.4.2
djangoproject/django 1.4.3
djangoproject/django 1.4.4
... and 17 more
Published Apr 23, 2014
Tracked Since Feb 18, 2026