Security News > 2022 > January > Linux Servers at Risk of RCE Due to Critical CWP Bugs

Researchers have discovered two critical bugs in Control Web Panel - a popular web hosting management software used by 200K+ servers - that could allow for remote code execution as root on vulnerable Linux servers.
CWP, formerly known as CentOS Web Panel, is an open-source Linux control panel software used for creating and managing web hosting environments.
The software supports the operating systems CentOS, Rocky Linux, Alma Linux and Oracle Linux.
In order to exploit the vulnerability, inject malicious code from a remote resource and execute code execution, an attacker would simply need to alter the include statement, which is used to insert the content of one PHP file into another PHP file before the server executes it.
To do so requires bypassing security protections to prevent attackers from reaching the restricted API section without authentication: a feat that can be accomplished by registering an API key using the file inclusion bug and creating a malicious authorized keys file on the server using the file write flaw.
Octagon will be be releasing a full proof of concept for achieving the preauth RCE "Once enough servers migrate to the latest version," according to the report.
News URL
https://threatpost.com/linux-servers-rce-critical-cwp-bugs/177906/
Related news
- Critical Langflow RCE flaw exploited to hack AI app servers (source)
- Gladinet’s Triofox and CentreStack Under Active Exploitation via Critical RCE Vulnerability (source)
- Critical flaws fixed in Nagios Log Server (source)
- New BPFDoor Controller Enables Stealthy Lateral Movement in Linux Server Attacks (source)
- Critical Erlang/OTP SSH pre-auth RCE is 'Surprisingly Easy' to exploit, patch now (source)
- Critical Erlang/OTP SSH RCE bug now has public exploits, patch now (source)
- Critical Commvault RCE vulnerability fixed, PoC available (CVE-2025-34028) (source)
- Hackers Exploit Critical Craft CMS Flaws; Hundreds of Servers Likely Compromised (source)
- Samsung MagicINFO 9 Server RCE flaw now exploited in attacks (source)
- Apache Parquet exploit tool detect servers vulnerable to critical flaw (source)