Vulnerability Description
Directus is a real-time API and App dashboard for managing SQL database content. An unauthenticated user can access credentials of last authenticated user via OpenID or OAuth2 where the authentication URL did not include redirect query string. This happens because on that endpoint for both OpenId and Oauth2 Directus is using the respond middleware, which by default will try to cache GET requests that met some conditions. Although, those conditions do not include this scenario, when an unauthenticated request returns user credentials. This vulnerability is fixed in 10.13.3 and 11.1.0.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Monospace | Directus | < 10.13.3 |
Related Weaknesses (CWE)
References
- https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dPatch
- https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f12Patch
- https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8ExploitVendor Advisory
FAQ
What is CVE-2024-45596?
CVE-2024-45596 is a vulnerability with a CVSS score of 7.4 (HIGH). Directus is a real-time API and App dashboard for managing SQL database content. An unauthenticated user can access credentials of last authenticated user via OpenID or OAuth2 where the authentication...
How severe is CVE-2024-45596?
CVE-2024-45596 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-45596?
Check the references section above for vendor advisories and patch information. Affected products include: Monospace Directus.