Control Web Panel code execution in phpini_editor module
Control Web Panel
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Control Web Panel Control Web Panel |
| No fix yet |
Original 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.
From the CVE record · VulnCheck