Directusの権限回避脆弱性、12.1.0で修正版が公開
Summary
Directusでは、WebSocketのREST機能を公開モードにしていると、未認証の相手がユーザー定義コレクションのデータを読み書き・削除できます。12.1.0へ更新するか、WEBSOCKETS_REST_AUTHをhandshakeかstrictに変えてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Directusでは、WebSocketのREST機能を公開モードにしていると、未認証の相手がユーザー定義コレクションのデータを読み書き・削除できます。12.1.0へ更新するか、WEBSOCKETS_REST_AUTHをhandshakeかstrictに変えてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| directusdirectus |
< 12.1.0→ 12.1.0 |
12.1.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com