Vulnerability record · CVE-2024-51567 · published 29 October 2024
CVE-2024-51567: CyberPanel upgrademysqlstatus auth bypass and command injection RCE
Cyberpanel · Cyberpanel
CyberPanel before commit 5b08cd6 fails to authenticate the upgrademysqlstatus endpoint in databases/views.py, because secMiddleware only guards POST requests. A remote attacker can reach the endpoint with a non-POST request and inject shell metacharacters through the statusfile property to run arbitrary commands.
Description
upgrademysqlstatus in databases/views.py in CyberPanel (aka Cyber Panel) before 5b08cd6 allows remote attackers to bypass authentication and execute arbitrary commands via /dataBases/upgrademysqlstatus by bypassing secMiddleware (which is only for a POST request) and using shell metacharacters in the statusfile property, as exploited in the wild in October 2024 by PSAUX. Versions through 2.3.6 and (unpatched) 2.3.7 are affected.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityUnauthenticated network RCE with CVSS 9.8, active in-the-wild exploitation, CISA KEV listing and known ransomware use.
What it is
CyberPanel before commit 5b08cd6 fails to authenticate the upgrademysqlstatus endpoint in databases/views.py, because secMiddleware only guards POST requests. A remote attacker can reach the endpoint with a non-POST request and inject shell metacharacters through the statusfile property to run arbitrary commands.
Impact
An unauthenticated attacker gains remote code execution on the CyberPanel host, which typically runs with high privileges and controls hosted sites and databases. This was used in the wild by PSAUX in October 2024, including ransomware activity.
Attack surface
Reachable over the network via /dataBases/upgrademysqlstatus; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The bypass relies on secMiddleware applying only to POST requests.
Exploitation
Exploited in the wild in October 2024 by PSAUX and added to CISA KEV on 2024-11-07 with known ransomware campaign use; EPSS 30-day probability is 0.866 (99.7th percentile). A public exploit write-up is referenced.
What to do
- Patch CyberPanel to commit 5b08cd6 or later immediately; versions through 2.3.6 and unpatched 2.3.7 are affected.
- If patching is not possible, discontinue use of the product or isolate the CyberPanel management interface from untrusted networks per CISA KEV guidance.
- Restrict access to /dataBases/upgrademysqlstatus and the CyberPanel admin port to trusted management networks only.
- Audit the host for signs of compromise and rotate credentials and keys if exploitation is suspected.
Detection
- Monitor web logs for requests to /dataBases/upgrademysqlstatus, especially non-POST methods or requests containing shell metacharacters in the statusfile parameter.
- Alert on unexpected child processes spawned by the CyberPanel web service (e.g., shell, curl, wget, or download utilities).
- Review host and network telemetry for outbound connections or file writes consistent with PSAUX ransomware staging.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2024-51567 to the Known Exploited Vulnerabilities catalog on 7 November 2024 as "CyberPanel Incorrect Default Permissions Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Federal deadline 28 November 2024.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2024-51567 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-51567), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.