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.
| Version | Type | Source | Base | Exp | Imp |
|---|---|---|---|---|---|
| 3.1 | Primary | cve.org | 7.8 | — | — |
| 3.1 | Primary | NVD | 7.8 | 1.8 | 5.9 |
| 3.1 | Secondary | NVD | 8.4 | 2.5 | 5.9 |
| 4.0 | Primary | cve.org | 8.5 | — | — |
| 4.0 | Secondary | NVD | 8.5 | — | — |
| 4.0 | Secondary | ENISA EUVD | 8.5 | — | — |