Quick answers
- Is CVE-2024-28238 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-28238 being exploited in the wild.
- How severe is CVE-2024-28238?
- Low severity, with a CVSS score of 3.1, published 12 March 2024.
- Which products and versions are affected?
- directus (npm) SEMVER:introduced=0,fixed=10.10.0.
- Is there a fix for CVE-2024-28238?
- Yes. directus (npm): upgrade to 10.10.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2024-28238 attacked?
- It is attacked with local access, in a network appliance.
- Am I affected by CVE-2024-28238?
- Check whether you run directus (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- directus (npm): upgrade to 10.10.0 or later
npm install directus@10.10.0
Technical details
A vulnerability exists in Directus where the application uses the HTTP GET method to pass sensitive JSON Web Tokens (JWT) in the URL query string when navigating to the /files page. This violates security best practices (CWE-598) as URLs are frequently recorded in plaintext within web server logs, proxy logs, and browser history. An attacker with local access or administrative privileges to these logs could extract the session token to impersonate users. The issue is fixed in version 10.10.0 by ensuring tokens are no longer transmitted via GET parameters.
Affected products
- Directus directus < 10.10.0
Identifiers
- CVE-2024-28238
- GHSA-2ccr-g2rv-h677
Timeline
- 2024-03-12: advisory: GitHub Security Advisory published
- 2024-03-12: patched: Fix released in version 10.10.0