Description
Control Web Panel (CWP) before webpanel_version 1.16 contains a SQL injection vulnerability in the loopback API authentication gate access_token(), which connects to MySQL as root and interpolates attacker-controlled values directly into its query. Attackers can inject SQL through the authorization_code and client_id parameters to read arbitrary database contents and forge the authentication result, bypassing the API's authentication check.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Control Web Panel | Control Web Panel | < 1.16 | 1.16 |
References
- Changelog release-notes patch
- VulnCheck Blog technical-description exploit
- VulnCheck Advisory: Control Web Panel (CWP) < 1.16 SQL Injection via access_token() API third-party-advisory