ghsa-cg8c-gc2j-2wf7
Vulnerability from github
Published
2022-10-07 07:29
Modified
2022-10-07 07:29
Severity ?
VLAI Severity ?
Summary
Flask-Security vulnerable to Open Redirect
Details
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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "Flask-Security" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "3.0.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-23385" ], "database_specific": { "cwe_ids": [ "CWE-601" ], "github_reviewed": true, "github_reviewed_at": "2022-10-07T07:29:01Z", "nvd_published_at": "2022-08-02T14:15:00Z", "severity": "MODERATE" }, "details": "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 `\u0027autocorrect_location_header=False`.\n\n**Note:** Flask-Security is not maintained anymore.", "id": "GHSA-cg8c-gc2j-2wf7", "modified": "2022-10-07T07:29:01Z", "published": "2022-10-07T07:29:01Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23385" }, { "type": "PACKAGE", "url": "https://github.com/mattupstate/flask-security" }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234" }, { "type": "WEB", "url": "https://snyk.io/blog/url-confusion-vulnerabilities" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Flask-Security vulnerable to Open Redirect" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…