Control Web Panel(CWP)にOSコマンドを注入され遠隔から管理者権限で実行される脆弱性
Summary
Control Web Panel(CWP)1.30より前には、データベース復元用APIのファイルパスに含まれるOSコマンドが、適切なエスケープなしに実行される脆弱性があります。この経路に到達できる攻撃者は、rootの権限で任意のOSコマンドを実行できるおそれがあります。修正版の1.30で対応してください。
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.
Control Web Panel(CWP)1.30より前には、データベース復元用APIのファイルパスに含まれるOSコマンドが、適切なエスケープなしに実行される脆弱性があります。この経路に到達できる攻撃者は、rootの権限で任意のOSコマンドを実行できるおそれがあります。修正版の1.30で対応してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Control Web PanelControl Web Panel |
< 1.29→ 1.29 |
1.29 |
Original description The description as published by the source.
Control Web Panel (CWP) before webpanel_version 1.30 contains an OS command injection vulnerability in the loopback API database restore route /v1/restoredatabase/, where the restoreDBBackup() handler passes an attacker-controlled file path from the POST body into a shell command without proper escaping. An attacker able to reach the route can inject arbitrary OS commands that execute as root.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com