Impact
The vulnerability resides in the getData function of the /www/server/panel/class/data.py file used by aaPanel BaoTa. A crafted value for the log_type parameter can cause the application to construct a malformed SQL query, allowing an attacker to inject arbitrary SQL statements. This flaw does not require authentication and can be triggered remotely, potentially leading to unauthorized data disclosure or database manipulation. The weakness is identified by CWE-74 (Improper Parsing of SQL) and CWE-89 (SQL Injection).
Affected Systems
aaPanel BaoTa versions up to and including 11.8.0 are affected. Users running the default installation of BaoTa from these releases should verify their installation and apply corrective action if an update is not yet available.
Risk and Exploitability
The CVSS score of 5.1 places this flaw in the moderate severity range. EPSS data is unavailable, but the public availability of the exploit suggests a realistic attack window. The vulnerability is not listed in CISA's KEV catalog. Attackers can target the exposed log_type endpoint from a remote host, inject malicious statements, and potentially gain read or write access to the underlying database file.
OpenCVE Enrichment