{ "id": "CVE-2021-23385", "sourceIdentifier": "report@snyk.io", "published": "2022-08-02T14:15:10.017", "lastModified": "2024-11-21T05:51:37.157", "vulnStatus": "Modified", "cveTags": [], "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "Esto afecta a todas las versiones del paquete Flask-Security. Cuando son usadas las funciones get_post_logout_redirect y get_post_login_redirect, es posible omitirse la comprobaci\u00f3n de la URL y redirigir a un usuario a una URL arbitraria proporcionando m\u00faltiples barras diagonales traseras como \\\\\\Ndevil.com/path. Esta vulnerabilidad s\u00f3lo es explotable si es usado un servidor WSGI alternativo que no sea Werkzeug, o es modificado el comportamiento por defecto de Werkzeug usando \"autocorrect_location_header=False. **Nota:** Flask-Security ya no es mantenido" } ], "metrics": { "cvssMetricV31": [ { "source": "report@snyk.io", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE" }, "exploitabilityScore": 2.8, "impactScore": 2.5 }, { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE" }, "exploitabilityScore": 2.8, "impactScore": 2.7 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-601" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:flask-security_project:flask-security:*:*:*:*:*:*:*:*", "matchCriteriaId": "A64C5EBD-CA0E-4C5C-A6DD-491E03BF261C" } ] } ] } ], "references": [ { "url": "https://github.com/mattupstate/flask-security", "source": "report@snyk.io", "tags": [ "Product", "Third Party Advisory" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00034.html", "source": "report@snyk.io" }, { "url": "https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://snyk.io/blog/url-confusion-vulnerabilities/", "source": "report@snyk.io", "tags": [ "Technical Description", "Third Party Advisory" ] }, { "url": "https://github.com/mattupstate/flask-security", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Product", "Third Party Advisory" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00034.html", "source": "af854a3a-2127-422b-91ae-364da2661108" }, { "url": "https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Exploit", "Third Party Advisory" ] }, { "url": "https://snyk.io/blog/url-confusion-vulnerabilities/", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": [ "Technical Description", "Third Party Advisory" ] } ] }