Directus allows unauthenticated access to WebSocket events and operations
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
directusnpm | >= 11.0.0, < 11.3.0 | 11.3.0 |
@directus/apinpm | >= 22.2.0, < 23.2.0 | 23.2.0 |
Affected products
3- ghsa-coords2 versions
>= 22.2.0, < 23.2.0+ 1 more
- (no CPE)range: >= 22.2.0, < 23.2.0
- (no CPE)range: >= 11.0.0, < 11.3.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-849r-qrwj-8rv4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-54151ghsaADVISORY
- github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21ghsax_refsource_MISCWEB
- github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.