Technical impact
The vulnerability lies in an unauthenticated loopback API route that connects to MySQL as root, where the 'user' parameter is interpolated directly into a query against the oauth_clients table. Attackers can send crafted requests to the unauthenticated endpoint, originally /user_panel_dashboard/ and later /valid_token/, to perform time‑based blind SQL injection and extract arbitrary database contents. The impact is the unauthorized disclosure of confidential database information, which could include credentials, configuration data, or other sensitive data. This weakness is identified as SQL Injection, CWE‑89.
Affected Systems
Control Web Panel (CWP) versions prior to 1.29 are affected. The product is distributed as Control Web Panel webpanel under the control-webpanel namespace. Any installation of CWP that exposes the /user_panel_dashboard/ or /valid_token/ endpoints without authentication is vulnerable.
Risk and Exploitability
The CVSS base score of 6.8 indicates a moderate severity, and the EPSS score is < 1%, suggesting a low probability of exploitation but not zero. The vulnerability is not present in CISA’s KEV catalog, so no confirmed field exploitation has been reported. The likely attack vector is an unauthenticated API endpoint that can be reached from the network; any host with the API reachable from the network could be targeted. Because the database connection uses the MySQL root account, successful exploitation could provide read access to all tables, potentially enabling further privilege escalation if the application uses that data for privileged actions. The attacker would typically employ time‑based blind injection, which may be detected by monitoring for abnormal database latency.