CVE-2021-23401
Summary
| CVE | CVE-2021-23401 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-05 11:15:00 UTC |
| Updated | 2021-07-08 18:08:00 UTC |
| Description | This affects all versions of package Flask-User. When using the make_safe_url function, 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 or \\\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. |
Risk And Classification
Problem Types: CWE-601
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Flask-user Project | Flask-user | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| GitHub - lingthio/Flask-User: Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more. | MISC | github.com | |
| Open Redirect in flask-user | Snyk | MISC | snyk.io | |
| Flask-User/user_manager__utils.py at master · lingthio/Flask-User · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Noam Moshe of Claroty