Django 'is_safe_url()' Function URI Redirection Vulnerability

BID:67410

Info

Django 'is_safe_url()' Function URI Redirection Vulnerability

Bugtraq ID: 67410
Class: Input Validation Error
CVE: CVE-2014-3730
Remote: Yes
Local: No
Published: May 15 2014 12:00AM
Updated: Apr 13 2015 09:54PM
Credit: Peter Kuma and Gavin Wahl
Vulnerable: Mandriva Business Server 1 X86 64
Mandriva Business Server 1
MandrakeSoft Enterprise Server 5 x86_64
MandrakeSoft Enterprise Server 5
IBM SmartCloud Provisioning 2.3 FixPack 1
Djangoproject Django 1.6.3
Djangoproject Django 1.6.2
Djangoproject Django 1.5.6
Djangoproject Django 1.5.5
Djangoproject Django 1.4.11
Djangoproject Django 1.4.10
Djangoproject Django 1.7 beta 3
Djangoproject Django 1.7 beta 2
Djangoproject Django 1.7 beta
Djangoproject Django 1.6.4
Djangoproject Django 1.6.1
Djangoproject Django 1.5.7
Djangoproject Django 1.5.4
Djangoproject Django 1.5.2
Djangoproject Django 1.5.1
Djangoproject Django 1.4.9
Djangoproject Django 1.4.8
Djangoproject Django 1.4.6
Djangoproject Django 1.4.5
Djangoproject Django 1.4.4
Djangoproject Django 1.4.12
Djangoproject Django 1.4.1
Debian Linux 6.0 sparc
Debian Linux 6.0 s/390
Debian Linux 6.0 powerpc
Debian Linux 6.0 mips
Debian Linux 6.0 ia-64
Debian Linux 6.0 ia-32
Debian Linux 6.0 arm
Debian Linux 6.0 amd64
Not Vulnerable: Djangoproject Django 1.7 beta 4
Djangoproject Django 1.6.5
Djangoproject Django 1.5.8
Djangoproject Django 1.4.13

Discussion

Django 'is_safe_url()' Function URI Redirection Vulnerability

Django is prone to a URI-redirection vulnerability because the application fails to properly sanitize user-supplied input.

A successful exploit may aid in phishing attacks; other attacks are possible.

Versions prior to Django 1.4.13, 1.5.8, 1.6.5 and 1.7 beta 4 are vulnerable.

Exploit / POC

Django 'is_safe_url()' Function URI Redirection Vulnerability

An attacker can exploit this issue by enticing an unsuspecting victim to following a malicious URI.

Solution / Fix

Django 'is_safe_url()' Function URI Redirection Vulnerability

Solution:
Updates are available. Please see the references or vendor advisory for more information.


MandrakeSoft Enterprise Server 5 x86_64

MandrakeSoft Enterprise Server 5

Mandriva Business Server 1 X86 64

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report