DataGerryに認証済みの攻撃者が任意のコマンドを実行できる脆弱性
Summary
DataGerryの3.3.0より前のバージョンには、テンプレート機能の処理に問題があり、権限を持つ認証済みの攻撃者が遠隔からOSコマンドを実行できる脆弱性が見つかりました。既定のDocker構成ではroot権限で実行されることが確認されています。対策として3.3.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.
DataGerryの3.3.0より前のバージョンには、テンプレート機能の処理に問題があり、権限を持つ認証済みの攻撃者が遠隔からOSコマンドを実行できる脆弱性が見つかりました。既定のDocker構成ではroot権限で実行されることが確認されています。対策として3.3.0以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| DataGerryDataGerry |
< 3.3.0→ 3.3.0 |
3.3.0 |
Original description The description as published by the source.
DataGerry before 3.3.0 contains a server-side template injection vulnerability that allows authenticated attackers with base.docapi.template.add permission to store arbitrary Jinja2 payloads in the template_data field via POST /rest/docapi/template, which is later rendered in a non-sandboxed Jinja2 environment when a user calls GET /rest/docapi/template//render/. Attackers can exploit the standard cycler.init.globals.os gadget chain to execute arbitrary operating system commands as the DataGerry web process user, confirmed as root in default Docker deployments, achieving remote code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory docs.datagerry.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com