The issue allows remote attackers to execute arbitrary SQL commands via the `device ID` REST parameter in the `/ajax.php` API endpoint, and also allows remote authenticated users to execute arbitrary SQL commands via the `order` parameter in the `index.php` endpoint.