CVE-2024-39896 Directus allows SSO User Enumeration

High 7.5 Published Updated

Attackers can enumerate existing SSO users by observing specific error messages when attempting local authentication with SSO-linked emails.

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-39896?

CVE-2024-39896 is a high-severity vulnerability in Monospace Directus, published on 8 Jul 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. When relying on SSO providers in combination with local authentication it can be possible to enumerate existing SSO users in the instance. This is possible because if an email address exists in Directus and belongs to a known SSO provider then it will throw a "helpful" error that the user belongs to another provider. This vulnerability is fixed in 10.13.0.

Weakness: CWE-200

Which versions are affected by CVE-2024-39896?

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

PackageAffectedFixed in
directus npmFrom 9.1110.13.0
directus npmFrom 9.1110.13.0

Products include Monospace Directus.

How do I fix CVE-2024-39896?

Upgrade directus to 10.13.0 or later.

Is CVE-2024-39896 being exploited?

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

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-jgf4-vwc3-r46v.

Is CVE-2024-39896 in your software?

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

Check your SBOMs for free