CVE-2024-45596
Directus's session is cached for OpenID and OAuth2 if `redirect` is not used
- State
- Published
- Severity
- 7.4 High
- Published
- Sep 10, 2024
- Updated
- Sep 10, 2024
- Reserved
- Sep 2, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.4 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N | GitHub_M |
Weaknesses
- CWE-524 Use of Cache Containing Sensitive Information
Affected Products
| Product | Versions |
|---|---|
directusdirectus |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.