CVE-2017-7233Open Redirect in Django

Severity
6.1MEDIUMNVD
EPSS
0.7%
top 28.22%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 4
Latest updateJan 4

Description

Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on user input in some cases to redirect the user to an "on success" URL. The security check for these redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric URLs "safe" when they shouldn't be, aka an open redirect vulnerability. Also, if a developer relies on ``is_safe_url()`` to provide safe redirect targets and puts such a URL into a link, they could suffer from an XSS attack.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7

Affected Packages2 packages

PyPIdjangoproject/django1.10a11.10.7+2
NVDdjangoproject/django38 versions+37

🔴Vulnerability Details

5
GHSA
Django open redirect and possible XSS attack via user-supplied numeric redirect URLs2019-01-04
OSV
Django open redirect and possible XSS attack via user-supplied numeric redirect URLs2019-01-04
CVEList
CVE-2017-7233: Django 12017-04-04
OSV
python-django vulnerabilities2017-04-04
OSV
CVE-2017-7233: Django 12017-04-04

📋Vendor Advisories

3
Red Hat
python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs2017-04-04
Ubuntu
Django vulnerabilities2017-04-04
Debian
CVE-2017-7233: python-django - Django 1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18 relies on us...2017

💬Community

4
Bugzilla
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [fedora-all]2017-09-05
Bugzilla
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-7]2017-09-05
Bugzilla
CVE-2017-7233 Django14: python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs [epel-6]2017-09-05
Bugzilla
CVE-2017-7233 python-django: Open redirect and possible XSS attack via user-supplied numeric redirect URLs2017-03-29
CVE-2017-7233 — Open Redirect in Djangoproject Django | cvebase