CVE-2017-7233
April 04, 2017
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.
Affected Packages
django (PYTHON):
Affected version(s) >=1.8a1 <1.8.18Fix Suggestion:
Update to version 1.8.18django (PYTHON):
Affected version(s) >=1.10a1 <1.10.7Fix Suggestion:
Update to version 1.10.7django (PYTHON):
Affected version(s) >=1.9a1 <1.9.13Fix Suggestion:
Update to version 1.9.13Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (19)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
CVSS v2
Base Score:
5.8
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
NONE
Weakness Type (CWE)
URL Redirection to Untrusted Site ('Open Redirect')
EPSS
Base Score:
0.59