Skip to main content
← All vulnerabilities
CVE-2024-54151GHSA-849R-QRWJ-8RV4

Directus allows unauthenticated access to WebSocket events and operations

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.3.0, 23.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 11.0.0 and prior to version 11.3.0, when setting `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` to "public", an unauthenticated user is able to do any of the supported operations (CRUD, subscriptions) with full admin privileges. This impacts any Directus instance that has either `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` set to `public` allowing unauthenticated users to subscribe for changes on any collection or do REST CRUD operations on user defined collections ignoring permissions. Version 11.3.0 fixes the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • directus directus

    From 11.0.0 · fixed in 11.3.0

  • directusnpm

    From 11.0.0 · fixed in 11.3.0

  • @directus/apinpm

    From 22.2.0 · fixed in 23.2.0

References 2

GitHub · directus/directus