CVE-2024-45596
Directus's session is cached for OpenID and OAuth2 if `redirect` is not used
Severity Score
7.4
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
Track
*SSVC
Descriptions
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.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2024-09-02 CVE Reserved
- 2024-09-10 CVE Published
- 2024-09-10 CVE Updated
- 2024-09-11 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-524: Use of Cache Containing Sensitive Information
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/directus/directus/commit/4aace0bbe57232e38cd6a287ee475293e46dc91b | X_refsource_misc | |
https://github.com/directus/directus/commit/769fa22797bff5a9231599883b391e013f122e52 | X_refsource_misc | |
https://github.com/directus/directus/security/advisories/GHSA-cff8-x7jv-4fm8 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Directus Search vendor "Directus" | Directus Search vendor "Directus" for product "Directus" | < 10.13.3 Search vendor "Directus" for product "Directus" and version " < 10.13.3" | en |
Affected
| ||||||
Directus Search vendor "Directus" | Directus Search vendor "Directus" for product "Directus" | >= 11.0.0 < 11.1.0 Search vendor "Directus" for product "Directus" and version " >= 11.0.0 < 11.1.0" | en |
Affected
|