ONLYOFFICE Docsに権限昇格の脆弱性、ローカルの攻撃者にroot権限で任意のコマンドを実行されるおそれ
Summary
ONLYOFFICE Docs(Document Server)の保守用スクリプトにコマンドインジェクションの脆弱性があり、ローカルの攻撃者がdsユーザーでコマンドを実行できる場合、root権限で任意のコマンドを実行されるおそれがあります。影響を受けるのは9.4.0-129以上10.0.0未満で、10.0.0で修正されています。10.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.
ONLYOFFICE Docs(Document Server)の保守用スクリプトにコマンドインジェクションの脆弱性があり、ローカルの攻撃者がdsユーザーでコマンドを実行できる場合、root権限で任意のコマンドを実行されるおそれがあります。影響を受けるのは9.4.0-129以上10.0.0未満で、10.0.0で修正されています。10.0.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ONLYOFFICEDocs (Document Server) |
≥ 9.4.0-129, < 10.0.0→ 10.0.0 |
10.0.0 |
Original description The description as published by the source.
Command injection in the documentserver-flush-cache.sh maintenance helper in ONLYOFFICE Docs (Document Server) 9.4.0-129 on the official onlyoffice/documentserver container allows a local attacker with command execution as the ds user to execute arbitrary commands as root via a crafted --hash argument that is interpolated unvalidated into a GNU sed expression, where the sed e flag runs attacker-controlled commands. The packaged sudoers policy permits ds to run the helper as root without a password and with unrestricted arguments.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web cve@rapid7.com
- web cve@rapid7.com
- web nvd.nist.gov
- web rapid7.com
- web github.com