ToolJetで認証済みユーザーが権限を回避しデータベースを操作できる脆弱性
Summary
ToolJetの内部データベース(TJDB)向けPostgRESTプロキシに認可の不備があり、ログイン済みの任意のワークスペースメンバーが、アプリやテーブルの権限を迂回してTJDBのテーブルを読み書きできます。CloudのようにSQLモードを無効にした環境では、ほかのテナントのテーブルにもアクセスされるおそれがあります。影響は3.21.96-LTSより前のバージョンで、修正版は3.21.96-LTSです。
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.
ToolJetの内部データベース(TJDB)向けPostgRESTプロキシに認可の不備があり、ログイン済みの任意のワークスペースメンバーが、アプリやテーブルの権限を迂回してTJDBのテーブルを読み書きできます。CloudのようにSQLモードを無効にした環境では、ほかのテナントのテーブルにもアクセスされるおそれがあります。影響は3.21.96-LTSより前のバージョンで、修正版は3.21.96-LTSです。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ToolJetToolJet |
< 3.21.96-LTS→ 3.21.96-LTS |
3.21.96-LTS |
Original description The description as published by the source.
ToolJet before 3.21.96-LTS contains an authorization bypass in the internal database (TJDB) PostgREST proxy, which grants proxy access to every logged-in user and derives the database role and schema from the client-supplied tj-workspace-id header. Any authenticated workspace member can send requests to /api/tooljet-db/proxy/ to read and modify TJDB tables, bypassing app, query, and table permissions, and in SQL-mode-disabled (Cloud) deployments can access all tenants' tables.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com