CVE-2014-3730
JSON

4.3medium

Django Allows Open Redirects

Severity
4.3medium CVSS:2.0 by NVD
Exploit likelihood
3.14% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
debian
Also known as
GHSA-vq3h-3q7v-9prwPYSEC-2014-20

Description

The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com."

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
django (PyPI)from 1.4 before 1.4.13, from 1.5 before 1.5.8, from 1.6 before 1.6.5, from 1.7a1 before 1.7b4, from 1.7a0 before 1.7b4GitHub Advisory Database, PyPA Advisory Database
canonical ubuntu_linux10.04, 12.04, 12.10, 13.10, 14.04NVD
djangoproject django1.4, 1.4.1, 1.4.2, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8 and 18 moreNVD
opensuse opensuse12.3, 13.1NVD
debian debian_linux7.0, 8.0NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\\djangoproject.com."

GitHub Advisory Database

The django.util.http.is_safe_url function in Django 1.4 before 1.4.13, 1.5 before 1.5.8, 1.6 before 1.6.5, and 1.7 before 1.7b4 does not properly validate URLs, which allows remote attackers to conduct open redirect attacks via a malformed URL, as demonstrated by "http:\\djangoproject.com."

NVD (es)

La función django.util.http.is_safe_url en Django 1.4 anterior a 1.4.13, 1.5 anterior a 1.5.8, 1.6 anterior a 1.6.5 y 1.7 anterior a 1.7b4 no valida debidamente URLs, lo que permite a atacantes remotos realizar ataques de redirección abierta a través de una URL malformada, tal y como fue demostrado por 'http:\\\djangoproject.com.'

References

http://secunia.com/advisories/61281advisory, third-party-advisory, web
http://www.debian.org/security/2014/dsa-2934advisory, third-party-advisory, vendor-advisory, web
http://ubuntu.com/usn/usn-2212-1third-party-advisory, vendor-advisory, web
http://www.securityfocus.com/bid/67410third-party-advisory, vdb-entry, web
http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.htmlthird-party-advisory, vendor-advisory, web
http://www.openwall.com/lists/oss-security/2014/05/15/3mailing-list, third-party-advisory, web
https://www.djangoproject.com/weblog/2014/may/14/security-releases-issued/article, patch, vendor-advisory
http://www.openwall.com/lists/oss-security/2014/05/14/10mailing-list, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2014-3730advisory
https://github.com/django/django/commit/601107524523bca02376a0ddc1a06c6fdb8f22f3web
https://github.com/django/django/commit/7feb54bbae3f637ab3c4dd4831d4385964f574dfweb
https://github.com/django/django/commit/ad32c218850ad40972dcef57beb460f8c979dd6dweb

Sources

SourceRecordLicence
CVE ListCVE-2014-3730 changed 2024-08-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-vq3h-3q7v-9prw changed 2025-02-19CC-BY-4.0
NVDCVE-2014-3730 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2014-20 changed 2026-06-10CC-BY-4.0