Skip to main content
← All vulnerabilities
CVE-2024-45596GHSA-CFF8-X7JV-4FM8

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.13.3, 11.1.0, 21.0.1, 22.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • directus directus

    fixed in 10.13.3; From 11.0.0 · fixed in 11.1.0

  • directusnpm

    fixed in 10.13.3

  • directusnpm

    From 11.0.0-rc.1 · fixed in 11.1.0

  • @directus/apinpm

    fixed in 21.0.1

  • @directus/apinpm

    From 22.0.0 · fixed in 22.2.0

References 3

GitHub · directus/directus