CVE-2017-7233

medium
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

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.

References

http://www.debian.org/security/2017/dsa-3835

http://www.securityfocus.com/bid/97406

http://www.securitytracker.com/id/1038177

https://access.redhat.com/errata/RHSA-2017:1445

https://access.redhat.com/errata/RHSA-2017:1451

https://access.redhat.com/errata/RHSA-2017:1462

https://access.redhat.com/errata/RHSA-2017:1470

https://access.redhat.com/errata/RHSA-2017:1596

https://access.redhat.com/errata/RHSA-2017:3093

https://access.redhat.com/errata/RHSA-2018:2927

https://www.djangoproject.com/weblog/2017/apr/04/security-releases/

Details

Source: MITRE

Published: 2017-04-04

Updated: 2018-10-17

Type: CWE-601

Risk Information

CVSS v2

Base Score: 5.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Impact Score: 4.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Impact Score: 2.7

Exploitability Score: 2.8

Severity: MEDIUM

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.0:a1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.0:b1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.0:b2:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.0:c1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.1:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.2:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.3:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.4:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.5:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.6:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.7:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.8:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.9:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.10:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.11:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.12:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.13:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.14:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.15:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.16:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.8.17:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9:a1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9:b1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9:rc1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9:rc2:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.3:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.4:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.5:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.6:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.7:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.8:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.9:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.10:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.11:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.9.12:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.0:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.0:a1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.0:b1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.0:rc1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.1:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.2:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.3:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.4:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.5:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.10.6:*:*:*:*:*:*:*

Tenable Plugins

View all (9 total)

IDNameProductFamilySeverity
118185RHEL 7 : Satellite Server (RHSA-2018:2927)NessusRed Hat Local Security Checks
critical
108641openSUSE Security Update : python3-Django (openSUSE-2018-318)NessusSuSE Local Security Checks
critical
108640openSUSE Security Update : python-Django (openSUSE-2018-317)NessusSuSE Local Security Checks
critical
101750Fedora 26 : python-django (2017-f997e46fa7)NessusFedora Local Security Checks
medium
99695Debian DSA-3835-1 : python-django - security updateNessusDebian Local Security Checks
critical
99613Fedora 25 : python-django (2017-c0ef6054d7)NessusFedora Local Security Checks
medium
99202Debian DLA-885-1 : python-django security updateNessusDebian Local Security Checks
medium
99195Ubuntu 12.04 LTS / 14.04 LTS / 16.04 LTS / 16.10 : python-django vulnerabilities (USN-3254-1)NessusUbuntu Local Security Checks
medium
99193FreeBSD : django -- multiple vulnerabilities (dc880d6c-195d-11e7-8c63-0800277dcc69)NessusFreeBSD Local Security Checks
medium