Technical impact
Control Web Panel, pre‑version 1.16, contains a susceptible endpoint in its loopback API authentication gate access_token(). The code opens a MySQL connection as root and directly interpolates attacker‑controlled "authorization_code" and "client_id" values into an SQL query. This allows an attacker to craft malicious input that modifies the query, resulting in arbitrary read of database contents and the ability to forge authentication results. The impact is a breach of confidentiality and integrity of stored data, with the potential to compromise the entire management interface if the attacker can obtain privileged access to the database.
Affected Systems
The vulnerability is present in all installations of Control Web Panel versions earlier than 1.16, regardless of the underlying operating system. Any system running an affected CWP instance that exposes the access_token() API to external traffic is at risk.
Risk and Exploitability
The CVSS score of 8.4 classifies this flaw as high severity. The EPSS score is 0.00232, indicating a very low probability of exploitation, but the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an unauthenticated or weakly authenticated user sending crafted requests to the access_token() endpoint over a network that can reach the CWP API, such as an exposed web service or internal network with insecure segmentation. If the attacker can reach the API, they can execute the injection without needing additional privileges beyond the API scope, making exploitation straightforward for a motivated adversary.