7.4

CVE-2024-45596

Exploit

Directus's session is cached for OpenID and OAuth2 if `redirect` is not used

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
MonospaceDirectus SwPlatformnode.js Version < 10.13.3
MonospaceDirectus SwPlatformnode.js Version >= 11.0.0 < 11.1.0
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.62% 0.449
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 6.5 2.8 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
security-advisories@github.com 7.4 2.8 4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CWE-524 Use of Cache Containing Sensitive Information

The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.

https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b
Patch
https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52
Patch
https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8
Vendor Advisory
Exploit