Control Web Panelに root 権限でコマンドを実行される脆弱性
Summary
Control Web Panel(CWP)の1.16より前のバージョンに、OSコマンドインジェクションの脆弱性が見つかりました。ローカルホストのAPIにあるパスワード変更の処理で、POSTの user パラメーターを加工せずにシェルコマンドへ渡しており、攻撃者は任意のコマンドを root 権限で実行できるおそれがあります。修正版の1.16が公開されているため、速やかに1.16以降へ更新してください。
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.16より前のバージョンに、OSコマンドインジェクションの脆弱性が見つかりました。ローカルホストのAPIにあるパスワード変更の処理で、POSTの user パラメーターを加工せずにシェルコマンドへ渡しており、攻撃者は任意のコマンドを root 権限で実行できるおそれがあります。修正版の1.16が公開されているため、速やかに1.16以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Control Web PanelControl Web Panel |
< 1.16→ 1.16 |
1.16 |
Original description The description as published by the source.
Control Web Panel (CWP) before webpanel_version 1.16 contains an OS command injection vulnerability in the loopback API password change route /newpass/, which runs as root. An attacker can inject arbitrary OS commands by manipulating the POST 'user' parameter that is passed unescaped into a shell command, achieving remote code execution with root privileges.
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