Description
Control Web Panel (CWP) before webpanel_version 1.29 contains an OS command injection vulnerability in the loopback API /valid_token/ route that allows unauthenticated attackers to execute arbitrary commands as root by injecting shell metacharacters into the unvalidated 'user' parameter. Attackers can send a crafted request to the /valid_token/ route, which passes the parameter unescaped into a shell_exec() call.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Control Web Panel | Control Web Panel | < 1.29 | 1.29 |
References
- Changelog release-notes patch
- VulnCheck Blog technical-description exploit
- VulnCheck Advisory: Control Web Panel (CWP) < 1.30 OS Command Injection via valid_token third-party-advisory