CVE-2015-2317

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

The utils.http.is_safe_url function in Django before 1.4.20, 1.5.x, 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1 does not properly validate URLs, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a control character in a URL, as demonstrated by a \x08javascript: URL.

References

http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html

http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160263.html

http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html

http://lists.opensuse.org/opensuse-updates/2015-09/msg00035.html

http://ubuntu.com/usn/usn-2539-1

http://www.debian.org/security/2015/dsa-3204

http://www.mandriva.com/security/advisories?name=MDVSA-2015:195

http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html

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

https://www.djangoproject.com/weblog/2015/mar/18/security-releases/

Details

Source: MITRE

Published: 2015-03-25

Updated: 2018-10-30

Type: CWE-79

Risk Information

CVSS v2

Base Score: 4.3

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

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

Vulnerable Software

Configuration 1

OR

cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*

cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*

cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*

Configuration 2

OR

cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions up to 1.4.19 (inclusive)

cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5:alpha:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5:beta:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.2:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.3:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.4:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.5:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.6:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.7:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.8:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.9:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.10:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.11:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.5.12:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6:-:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6:beta2:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6:beta3:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6:beta4:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.6.10:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7:beta1:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7:beta2:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7:beta3:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7:beta4:*:*:*:*:*:*

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

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

cpe:2.3:a:djangoproject:django:1.7:rc3:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7.3:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7.4:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7.5:*:*:*:*:*:*:*

cpe:2.3:a:djangoproject:django:1.7.6:*:*:*:*:*:*:*

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

Configuration 3

OR

cpe:2.3:o:oracle:solaris:11.2:*:*:*:*:*:*:*

Configuration 4

OR

cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*

Tenable Plugins

View all (10 total)

IDNameProductFamilySeverity
86091openSUSE Security Update : python-django (openSUSE-2015-598)NessusSuSE Local Security Checks
medium
84812Debian DLA-272-1 : python-django security updateNessusDebian Local Security Checks
high
84278Fedora 20 : python-django14-1.4.20-1.fc20 (2015-9604)NessusFedora Local Security Checks
medium
82967Fedora 22 : python-django-1.8-1.fc22 (2015-5766)NessusFedora Local Security Checks
medium
82618Mandriva Linux Security Advisory : python-django (MDVSA-2015:195)NessusMandriva Local Security Checks
medium
82515openSUSE Security Update : python-Django (openSUSE-2015-281)NessusSuSE Local Security Checks
medium
82362Mandriva Linux Security Advisory : python-django (MDVSA-2015:109)NessusMandriva Local Security Checks
medium
82286FreeBSD : django -- multiple vulnerabilities (62287f51-d43d-11e4-879c-00e0814cab4e)NessusFreeBSD Local Security Checks
medium
82048Debian DSA-3204-1 : python-django - security updateNessusDebian Local Security Checks
medium
82023Ubuntu 10.04 LTS / 12.04 LTS / 14.04 LTS / 14.10 : python-django vulnerabilities (USN-2539-1)NessusUbuntu Local Security Checks
medium