Insufficient Session Expiration Affecting directus package, versions >=10.10.0 <10.11.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Session Expiration vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-DIRECTUS-6839434
  • published14 May 2024
  • disclosed13 May 2024
  • creditUnknown

Introduced: 13 May 2024

CVE-2024-34709  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade directus to version 10.11.0 or higher.

Overview

directus is a Directus is a real-time API and App dashboard for managing SQL database content.

Affected versions of this package are vulnerable to Insufficient Session Expiration due to the improper handling of session tokens during logout. An attacker can maintain access using a captured session token by exploiting this behavior.

Notes:

Steps to reproduce:

  1. Copy the current session token from the cookie

  2. Refresh and or log out

  3. Use the saved session token to check if it is still valid

The lack of proper session expiration may improve the likely success of certain attacks. Incorrect token invalidation could allow an attacker to use the browser's history to access a Directus instance session previously accessed by the victim.

References

CVSS Scores

version 3.1