#VU85063 Open redirect in Flask-Security - CVE-2023-49438

 

#VU85063 Open redirect in Flask-Security - CVE-2023-49438

Published: January 8, 2024 / Updated: November 15, 2024


Vulnerability identifier: #VU85063
Vulnerability risk: Low
CVSSv4.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:P/U:Clear
CVE-ID: CVE-2023-49438
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Flask-Security
Software vendor:
Flask-Middleware

Description

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

The vulnerability exists due to improper sanitization of user-supplied data passed via the ?next parameter on the /login and /register routes. 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.


Remediation

Install updates from vendor's website.

External links