| Reporter | Title | Published | Views | Family All 29 |
|---|---|---|---|---|
| The vulnerability of the Flask-Security-Too security management tool lies in the redirection of URLs to an unreliable website, allowing attackers to redirect users to arbitrary URL addresses. | 6 Jan 202400:00 | – | bdu_fstec | |
| CVE-2023-49438 | 22 Dec 202318:14 | – | circl | |
| Flask Middleware Flask-security Security Vulnerabilities | 26 Dec 202300:00 | – | cnnvd | |
| CVE-2023-49438 | 26 Dec 202300:00 | – | cve | |
| CVE-2023-49438 | 26 Dec 202300:00 | – | cvelist | |
| [SECURITY] Fedora 39 Update: python-flask-security-too-5.1.2-3.fc39 | 14 Jan 202401:00 | – | fedora | |
| Fedora 39 : python-flask-security-too (2024-f34963bef8) | 13 Jan 202400:00 | – | nessus | |
| Open redirect vulnerability in Flask-Security-Too | 27 Dec 202300:30 | – | github | |
| Flask-Security has an Open Redirect issue | 23 Jun 202622:46 | – | github | |
| Flask-Security has an Open Redirect issue | 23 Jun 202600:00 | – | gitlab |
id: CVE-2023-49438
info:
name: Python Flask-Security-Too <=5.3.2 - Open Redirect
author: ritikchaddha
severity: medium
description: |
An open redirect vulnerability exists in the python package Flask-Security-Too prior to version 5.3.3. Attackers can abuse the 'next' parameter on the /login and /register routes to redirect unsuspecting users to malicious sites via crafted URLs, which could lead to phishing or other attacks ([NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-49438)).
impact: |
Allows attackers to redirect users to arbitrary sites, potentially leading to phishing, data theft, or user session hijacking.
remediation: |
Upgrade Flask-Security-Too to version 5.3.3 or later to mitigate the open redirect vulnerability.
reference:
- https://github.com/Flask-Middleware/flask-security
- https://github.com/brandon-t-elliott/CVE-2023-49438
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6HCYH377TPUMUHELPI36PDS2ZM4VFIXM/
- https://nvd.nist.gov/vuln/detail/CVE-2023-49438
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-49438
cwe-id: CWE-601
epss-score: 0.01079
epss-percentile: 0.61032
cpe: cpe:2.3:a:flask-security-too_project:flask-security-too:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: flask-security-too_project
product: flask-security-too
tags: cve2023,cve,redirect,flask,flask-security,redirect
http:
- raw:
- |
GET /login HTTP/1.1
Host: {{Hostname}}
- |
POST /login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
next={{path}}&csrf_token={{csrftoken}}&email={{username}}&password={{password}}&submit=Login
payloads:
path:
- /\interact.sh
- \/interact.sh
matchers:
- type: regex
part: header_2
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$'
extractors:
- type: regex
part: body
name: csrftoken
group: 1
regex:
- 'name="csrf-token" content="(.*)"'
internal: true
# digest: 4b0a00483046022100cd736e4a9e36b9a02550ec97428e17d20dbae7d2b6776cea2174bd2d60fc0e2c02210087fccca957969ee35ab2227cb7e76b0febf84a0df5630d85507a5164ddd4c573:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation