CVE-2024-45596CWE-524

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

High · published September 10, 2024

CVSS v3.1
7.4
EPSS
1%
Percentile
50.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00655 · 50.8th percentile
Weakness
CWE-524 · Use of Cache Containing Sensitive Information
Published
2024-09-10T18:43Z
EPSS history
Timeline
  • 10 SEP 18:43Z
    Directus's session is cached for OpenID and OAuth2 if `redirect` is not used
    cvelistv5