Budibaseの脆弱性、認証済みユーザーに任意のJavaScriptを実行される
Summary
Budibaseの4.0.0より前のバージョンに、テンプレート注入の脆弱性が見つかりました。テーブルの読み取り権限を持つ認証済みユーザーが、行検索の値にHandlebarsのヘルパーを埋め込み、JavaScriptを実行できます。SSOユーザーのOAuth2トークンが読み取られたり、サービス拒否の状態にされたりするおそれがあります。修正版として4.0.0が公開されているため、4.0.0以降への更新を急いでください。
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.
Budibaseの4.0.0より前のバージョンに、テンプレート注入の脆弱性が見つかりました。テーブルの読み取り権限を持つ認証済みユーザーが、行検索の値にHandlebarsのヘルパーを埋め込み、JavaScriptを実行できます。SSOユーザーのOAuth2トークンが読み取られたり、サービス拒否の状態にされたりするおそれがあります。修正版として4.0.0が公開されているため、4.0.0以降への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| budibaseserver |
< 4.0.0→ 4.0.0 |
4.0.0 |
Original description The description as published by the source.
Budibase before 4.0.0 contains a server-side template injection vulnerability that allows authenticated users with table read permission to execute JavaScript by injecting Handlebars js helpers into row search query values. Attackers can submit base64-encoded JavaScript through the search endpoint, which enrichSearchContext() runs in an isolated-vm sandbox, to read OAuth2 access and refresh tokens of SSO users or cause denial of service.
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