CVE-2017-7234
Vulnerability Summary
Timeline
Description
A maliciously crafted URL to a Django (1.10 before 1.10.7, 1.9 before 1.9.13, and 1.8 before 1.8.18) site using the ``django.views.static.serve()`` view could redirect to any other domain, aka an open redirect vulnerability.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- v3.0•MEDIUM•Score: 6.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- v2.0•MEDIUM•Score: 5.8AV:N/AC:M/Au:N/C:P/I:P/A:N
EPSS Trends
Current EPSS score: 0.26%• Percentile: 49%
Techniques & Countermeasures
- CWE-601•URL Redirection to Untrusted Site ('Open Redirect')
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Affected Systems
- djangoproject•django
1.8.0 | 1.8.0:a1 | 1.8.0:b1 | 1.8.0:b2 | 1.8.0:c1 | 1.8.1 | 1.8.2 | 1.8.3 | 1.8.4 | 1.8.5 | 1.8.6 | 1.8.7 | 1.8.8 | 1.8.9 | 1.8.10 | 1.8.11 | 1.8.12 | 1.8.13 | 1.8.14 | 1.8.15 | 1.8.16 | 1.8.17 | 1.9 | 1.9:a1 | 1.9:b1 | 1.9:rc1 | 1.9:rc2 | 1.9.1 | 1.9.2 | 1.9.3 | 1.9.4 | 1.9.5 | 1.9.6 | 1.9.7 | 1.9.8 | 1.9.9 | 1.9.10 | 1.9.11 | 1.9.12 | 1.10.0 | 1.10.0:a1 | 1.10.0:b1 | 1.10.0:rc1 | 1.10.1 | 1.10.2 | 1.10.3 | 1.10.4 | 1.10.5 | 1.10.6
- PyPI•django
≥ 1.10, < 1.10.7 | ≥ 1.9, < 1.9.13 | ≥ 1.8, < 1.8.18
References (14)
- http://www.securitytracker.com/id/1038177
- http://www.securityfocus.com/bid/97401
- http://www.debian.org/security/2017/dsa-3835
- https://www.djangoproject.com/weblog/2017/apr/04/security-releases/
- https://nvd.nist.gov/vuln/detail/CVE-2017-7234
- https://github.com/django/django/commit/2a9f6ef71b8e23fd267ee2be1be26dde8ab67037
- https://github.com/django/django/commit/4a6b945dffe8d10e7cec107d93e6efaebfbded29
- https://github.com/django/django/commit/5f1ffb07afc1e59729ce2b283124116d6c0659e4
- https://github.com/advisories/GHSA-h4hv-m4h4-mhwg
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2017-10.yaml
- https://web.archive.org/web/20170429023907/http://www.securitytracker.com/id/1038177
- https://web.archive.org/web/20170526042328/http://www.securityfocus.com/bid/97401
- https://www.djangoproject.com/weblog/2017/apr/04/security-releases