CVE-2024-34709
Directus Session Token Persistent Authentication Bypass
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.
INFO
Published Date :
May 14, 2024, 3:39 p.m.
Last Modified :
Jan. 3, 2025, 4:20 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
4.2
Exploitability Score :
1.2
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-34709
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-34709
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-34709
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 03, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N Added CWE NIST CWE-613 Added CPE Configuration OR *cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* versions up to (excluding) 10.11.0 Changed Reference Type https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf No Types Assigned https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf Patch Changed Reference Type https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf No Types Assigned https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf Patch Changed Reference Type https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 No Types Assigned https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 Exploit, Vendor Advisory Changed Reference Type https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 No Types Assigned https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 Exploit, Vendor Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf Added Reference https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 -
CVE Received by [email protected]
May. 14, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 [No types assigned] Added Reference GitHub, Inc. https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf [No types assigned] Added CWE GitHub, Inc. CWE-613 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-34709
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-34709
weaknesses.