QID 376259
Date Published: 2022-01-24
QID 376259: Python Flask-Security-Too Plugin Open Redirect Vulnerability
Affected versions of this package are vulnerable to Open Redirect. 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".
Affected Versions:
All versions of Flask-Security-Too prior to version 4.0.1
QID detection logic(Authenticated):
This QID checks for vulnerable versions of Flask-Security-Too plugin using the 'pip list' command.
Successful exploitation of the vulnerability may allow an attacker to redirect a user to a malicious website of attacker's choosing.
- Open Redirect Vulnerability -
github.com/Flask-Middleware/flask-security/security/advisories/GHSA-6qmf-fj6m-686c
CVEs related to QID 376259
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| NA |
|