Open redirect in Django Grappelli - CVE-2021-46898

 

Open redirect in Django Grappelli - CVE-2021-46898

Published: November 1, 2023


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

Detailed vulnerability description

The vulnerability allows a remote attacker to redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data in views/switch.py when handling URL that starts with "//" characters instead of protocol name. A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.


How to mitigate CVE-2021-46898

Install updates from vendor's website.

Sources