QID 376262
Date Published: 2022-01-24
QID 376262: Python Flask-Security 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 plugin are vulnerable
QID detection logic(Authenticated):
This QID checks for vulnerable versions of Flask-Security 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.
- Flask-Security Advisory -
github.com/mattupstate/flask-security/issues/872
CVEs related to QID 376262
| Advisory ID | Software | Component | Link |
|---|