Skip to content
OpenAdvisories
Medium · 5.4 CVE-2024-34709 EUVD-2024-1618GHSA-g65h-35f3-x2w3

Directus Lacks Session Tokens Invalidation

Published May 13, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
directus directus >= 10.10.0, < 10.11.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm directus >= 10.10.0, < 10.11.0 10.11.0 GHSA-g65h-35f3-x2w3

References