CVE-2024-45596 HIGH

CVE-2024-45596: Directus's session is cached for OpenID and OAuth2 if `redirect` is not used

Vendor Directus
Product directus
Weakness CWE-524
Published September 10, 2024
Last update September 10, 2024

CVSS base score

7.4/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 10, 2024 CVE published
September 10, 2024 Record updated