Description
Control Web Panel (CWP) before webpanel_version 1.16 contains an arbitrary file write and OS command injection vulnerability in the phpini_editor user panel module that allows attackers with access to the module to write attacker-controlled content to arbitrary paths and execute arbitrary OS commands. Attackers can exploit the acc=update action to write files via file_put_contents without path confinement and the acc=addlabelphpiniadv action to pass unsanitized input into shell_exec, achieving code execution in the user panel context.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Control Web Panel | Control Web Panel | < 1.16 | 1.16 |
References
- Changelog release-notes patch
- VulnCheck Blog technical-description exploit
- VulnCheck Advisory: Control Web Panel (CWP) < 1.16 File Write and Command Injection third-party-advisory