Open redirect in Django - CVE-2018-14574

 

Open redirect in Django - CVE-2018-14574

Published: August 1, 2018 / Updated: August 2, 2018


Vulnerability identifier: #VU14175
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-14574
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Django Software Foundation
Affected software:
Django

Detailed vulnerability description

The vulnerability allows a remote unauthenticated attacker to redirect the target user to external websites.

The weakness exists on systems with django.middleware.common.CommonMiddleware and the APPEND_SLASH setting enabled and with a project that has a URL pattern that accepts any path ending in a slash due to open redirect. A remote attacker can use a specially crafted image link, trick the victim into opening it and redirect users to malicious website

How to mitigate CVE-2018-14574

The vulnerability is addressed in the versions 1.11.15, 2.0.8.

Sources