Directus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.0, session tokens function like the other JWT tokens where they are not actually invalidated when logging out. The `directus_session` gets destroyed and the cookie gets deleted but if the cookie value is captured, it will still work for the entire expiry time which is set to 1 day by default. Making it effectively a long lived unrevokable stateless token instead of the stateful session token it was meant to be. This vulnerability is fixed in 10.11.0.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-1618 Directus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.0, session tokens function like the other JWT tokens where they are not actually invalidated when logging out. The `directus_session` gets destroyed and the cookie gets deleted but if the cookie value is captured, it will still work for the entire expiry time which is set to 1 day by default. Making it effectively a long lived unrevokable stateless token instead of the stateful session token it was meant to be. This vulnerability is fixed in 10.11.0.
Github GHSA Github GHSA GHSA-g65h-35f3-x2w3 Directus Lacks Session Tokens Invalidation
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 03 Jan 2025 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Monospace
Monospace directus
CPEs cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
Vendors & Products Monospace
Monospace directus

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-02T02:59:22.093Z

Reserved: 2024-05-07T13:53:00.133Z

Link: CVE-2024-34709

cve-icon Vulnrichment

Updated: 2024-08-02T02:59:22.093Z

cve-icon NVD

Status : Analyzed

Published: 2024-05-14T15:39:31.547

Modified: 2025-01-03T16:20:01.927

Link: CVE-2024-34709

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.