GHSA-97xr-jchp-xm3c: Directus before 12.1.0 Authorization Bypass via Public WebSocket REST Interface
Directus before 12.1.0 contains an authorization bypass vulnerability that allows unauthenticated attackers to skip permission checks by sending a failed auth message on public-mode WebSocket connections. Attackers can send an invalid token so handleAuthRequest sets accountability to null, then read, create, update or delete records in any user-defined collection.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Directusto a version that resolves this vulnerability.Fixed in 12.1.0