Control Web Panel auth bypass via SQL injection in access_token()
Control Web Panel
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Control Web Panel Control Web Panel |
| No fix yet |
Original 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.
From the CVE record · VulnCheck