CVE-2024-27295 Directus MySQL accent insensitive email matching

High 8.2 Published Updated

Attackers can hijack accounts by exploiting accent-insensitive email matching in password reset flows, allowing reset emails to be sent to similar addresses.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27295?

CVE-2024-27295 is a high-severity authentication bypass vulnerability in Monospace Directus, published on 1 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directus is a real-time API and App dashboard for managing SQL database content. The password reset mechanism of the Directus backend allows attackers to receive a password reset email of a victim user, specifically having it arrive at a similar email address as the victim with a one or more characters changed to use accents. This is due to the fact that by default MySQL/MariaDB are configured for accent-insensitive and case-insensitive comparisons. This vulnerability is fixed in version 10.8.3.

Weakness: CWE-706

Which versions are affected by CVE-2024-27295?

2 open source packages ship an affected version, including directus. It affects 1 product.

PackageAffectedFixed in
directus npmAll versions10.8.3
directus npmAll versions10.8.3

Products include Monospace Directus.

How do I fix CVE-2024-27295?

Upgrade directus to 10.8.3 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-27295 being exploited?

There is no known exploitation of CVE-2024-27295 in the wild and no public exploit code.

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-qw9g-7549-7wg5.

Is CVE-2024-27295 in your software?

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

Check your SBOMs for free