fkie_cve-2021-23385
Vulnerability from fkie_nvd
Published
2022-08-02 14:15
Modified
2024-11-21 05:51
Severity ?
5.4 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
6.1 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
6.1 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Summary
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.
References
| URL | Tags | ||
|---|---|---|---|
| report@snyk.io | https://github.com/mattupstate/flask-security | Product, Third Party Advisory | |
| report@snyk.io | https://lists.debian.org/debian-lts-announce/2023/08/msg00034.html | ||
| report@snyk.io | https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234 | Exploit, Third Party Advisory | |
| report@snyk.io | https://snyk.io/blog/url-confusion-vulnerabilities/ | Technical Description, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://github.com/mattupstate/flask-security | Product, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://lists.debian.org/debian-lts-announce/2023/08/msg00034.html | ||
| af854a3a-2127-422b-91ae-364da2661108 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234 | Exploit, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://snyk.io/blog/url-confusion-vulnerabilities/ | Technical Description, Third Party Advisory |
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| flask-security_project | flask-security | * |
{
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:flask-security_project:flask-security:*:*:*:*:*:*:*:*",
"matchCriteriaId": "A64C5EBD-CA0E-4C5C-A6DD-491E03BF261C",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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 \u0027autocorrect_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"
}
],
"id": "CVE-2021-23385",
"lastModified": "2024-11-21T05:51:37.157",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 2.5,
"source": "report@snyk.io",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2022-08-02T14:15:10.017",
"references": [
{
"source": "report@snyk.io",
"tags": [
"Product",
"Third Party Advisory"
],
"url": "https://github.com/mattupstate/flask-security"
},
{
"source": "report@snyk.io",
"url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00034.html"
},
{
"source": "report@snyk.io",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234"
},
{
"source": "report@snyk.io",
"tags": [
"Technical Description",
"Third Party Advisory"
],
"url": "https://snyk.io/blog/url-confusion-vulnerabilities/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Product",
"Third Party Advisory"
],
"url": "https://github.com/mattupstate/flask-security"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "https://lists.debian.org/debian-lts-announce/2023/08/msg00034.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://security.snyk.io/vuln/SNYK-PYTHON-FLASKSECURITY-1293234"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Technical Description",
"Third Party Advisory"
],
"url": "https://snyk.io/blog/url-confusion-vulnerabilities/"
}
],
"sourceIdentifier": "report@snyk.io",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-601"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
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.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- 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…
Loading…