
Cloud Vulnerability DB
A community-led vulnerabilities database
In CWP (Control Web Panel, formerly known as CentOS Web Panel) versions before 0.9.8.1107, a critical vulnerability was identified where attackers could make crafted requests to api/?api=add_server&DHCP= to add an authorized_keys text file in the /resources/ folder. This web hosting management software, used by over 200,000 servers, was discovered to contain this vulnerability in December 2021 (NVD, THN).
The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue is classified under CWE-863 (Incorrect Authorization). The vulnerability exists in unauthenticated PHP pages exposed in the webroot, specifically /user/loader.php and /user/index.php (NVD, Octagon).
When exploited, this vulnerability allows attackers to achieve pre-authenticated remote code execution (RCE) as root on affected Linux servers. The vulnerability affects the server's security by allowing unauthorized file writing capabilities, which could lead to complete system compromise (Threatpost).
The vulnerability is exploitable without requiring authentication. Attackers can exploit this by first sending a null byte powered file inclusion payload to add a malicious API key, then using the API key to write to a file, and finally including the maliciously written file. This vulnerability chain has been documented to be actively exploited in the wild (THN).
The vulnerability has been patched in version 0.9.8.1107 and later releases. System administrators are strongly advised to upgrade their CWP installations to the latest version to prevent exploitation (CWP Changelog).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."