CVE-2024-34709 Directus Lacks Session Tokens Invalidation
MediumCVSS 5.4
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| monospace directus | < 10.11.0 | 10.11.0 | Fixed |
| npm directus(npm) | >= 10.10.0, < 10.11.0 | 10.11.0 | Fixed |
| directus | = >= 10.10.0, < 10.11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm directus(npm) | >= 10.10.0, < 10.11.0 | 10.11.0 |
| directus | = >= 10.10.0, < 10.11.0 | No fix listed |
| monospace directus | < 10.11.0 | 10.11.0 |
References
- https://github.com/directus/directus/security/advisories/GHSA-g65h-35f3-x2w3 exploit vendor-advisory
- https://github.com/directus/directus/commit/a6172f8a6a0f31a6bf4305a090de172ebfb63bcf patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product