This affects all versions of package Flask-Security. When using the get_post_logout_redirect and get_post_login_redirect functions, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as \\\evil.com/path. This vulnerability is only exploitable if an alternative WSGI server other than Werkzeug is used, or the default behaviour of Werkzeug is modified using 'autocorrect_location_header=False. **Note:** Flask-Security is not maintained anymore.
CVSS Details
- CVSS 3.1 Base Score: 5.4
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade flask-security | Aug 29, 2023 | Aug 2, 2022 |
| Freebsd | — | Upgrade py38-flask-securityUpgrade py39-flask-securityUpgrade py37-flask-securityUpgrade py311-flask-securityUpgrade py310-flask-security | Sep 1, 2023 | Aug 31, 2023 |
| Suse | — | Upgrade python2-flask-securityUpgrade python3-flask-security-tooUpgrade python3-flask-security | Nov 2, 2022 | Aug 2, 2022 |
| Ubuntu | — | Upgrade python3-flask-security (Ubuntu Pro)Upgrade python3-flask-security | Jun 7, 2024 | Aug 2, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub