CVE-2024-28238 Session Token in URL in directus

Low 2.3 Published Updated

Attackers can hijack user sessions by accessing JWTs exposed in URLs via logs, leading to unauthorized access and data exposure.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-28238?

CVE-2024-28238 is a low-severity vulnerability in Monospace Directus, published on 12 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Directus is a real-time API and App dashboard for managing SQL database content. When reaching the /files page, a JWT is passed via GET request. Inclusion of session tokens in URLs poses a security risk as URLs are often logged in various places (e.g., web server logs, browser history). Attackers gaining access to these logs may hijack active user sessions, leading to unauthorized access to sensitive information or actions on behalf of the user. This issue has been addressed in version 10.10.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-598, CWE-200

Which versions are affected by CVE-2024-28238?

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

PackageAffectedFixed in
directus npmAll versions10.10.0
directus npmAll versions10.10.0

Products include Monospace Directus.

How do I fix CVE-2024-28238?

Upgrade directus to 10.10.0 or later.

Is CVE-2024-28238 being exploited?

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

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-2ccr-g2rv-h677.

Is CVE-2024-28238 in your software?

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

Check your SBOMs for free