CVE-2024-34709: Directus Lacks Session Tokens Invalidation
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.38516%
CWE
Published
5/13/2024
Updated
5/14/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| directus | npm | >= 10.10.0, < 10.11.0 | 10.11.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing session validation during token verification. The commit adds a new 'verifySessionJWT' check within getAccountabilityForToken, indicating this function was previously incomplete. Before the patch, it only validated JWT cryptographically but didn't verify session state in the database, making it the vulnerable entry point for unrevoked session tokens.