1. CVE archive
  2. 2024
  3. CVE-2024-45596

CVE-2024-45596

6.5 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N 6.5 – Medium

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.

Affected products

VendorProductVersionPlatform
monospace directus < 10.13.3 node.js
monospace directus >= 11.0.0 < 11.1.0 node.js
All 59 Monospace Directus vulnerabilities

Vulnerability type

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.

Impact on systems

ScopeImpact
Confidentiality Read Application Data
If the cache is accessible to unauthorized actors, attackers can read the cache and obtain this sensitive information.

How to prevent it

Architecture and Design Protect information stored in cache.
Architecture and Design Do not store unnecessarily sensitive information in the cache.
Architecture and Design Consider using encryption in the cache.

All 85 CWE-524 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org