CVE-2023-49438 Open redirect vulnerability in Flask-Security-Too

Medium 6.1 Published Updated

Attackers can redirect users to malicious sites via crafted URLs in Flask-Security-Too, potentially facilitating phishing attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-49438?

CVE-2023-49438 is a medium-severity vulnerability in n/a, published on 26 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An open redirect vulnerability in the python package Flask-Security-Too <=5.3.2 allows attackers to redirect unsuspecting users to malicious sites via a crafted URL by abusing the ?next parameter on the /login and /register routes.

Weakness: CWE-601

Which versions are affected by CVE-2023-49438?

3 open source packages ship an affected version, including flask-security-too and Flask-Security-Too. It affects 1 product.

PackageAffectedFixed in
flask-security-too PyPIAll versions5.3.3
flask-security-too PyPIAll versions5.3.3
Flask-Security-Too PyPIAll versions5.3.3

Products include Flask-Security-Too Project Flask-Security-Too.

How do I fix CVE-2023-49438?

Upgrade flask-security-too to 5.3.3 or later.

Is CVE-2023-49438 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49438 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-672h-6x89-76m5, PYSEC-2023-248, openSUSE-SU-2024:13563-1.

Is CVE-2023-49438 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free