Vulnerability record · CVE-2024-51378 · published 29 October 2024
CVE-2024-51378: CyberPanel auth bypass and OS command injection in getresetstatus
Cyberpanel · Cyberpanel
CyberPanel before commit 1c0c6cb fails to enforce authentication on the getresetstatus endpoints in dns/views.py and ftp/views.py, because secMiddleware only applies to POST requests. An attacker can reach these endpoints with a non-POST request and inject shell metacharacters through the statusfile property to run arbitrary commands.
Description
getresetstatus in dns/views.py and ftp/views.py in CyberPanel (aka Cyber Panel) before 1c0c6cb allows remote attackers to bypass authentication and execute arbitrary commands via /dns/getresetstatus or /ftp/getresetstatus 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 priorityCVSS 9.8, unauthenticated remote command execution, confirmed in-the-wild exploitation by PSAUX, CISA KEV listing with ransomware use, and EPSS above 0.94.
What it is
CyberPanel before commit 1c0c6cb fails to enforce authentication on the getresetstatus endpoints in dns/views.py and ftp/views.py, because secMiddleware only applies to POST requests. An attacker can reach these endpoints with a non-POST request and inject shell metacharacters through the statusfile property to run arbitrary commands.
Impact
An unauthenticated remote attacker can execute arbitrary operating system commands on the CyberPanel host, leading to full server compromise. The flaw was exploited in the wild in October 2024 by PSAUX and is linked to ransomware use.
Attack surface
Reachable over the network via /dns/getresetstatus or /ftp/getresetstatus; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The bypass works because secMiddleware only guards POST requests, so a non-POST request evades it.
Exploitation
Exploitation is confirmed in the wild: CISA KEV lists it with known ransomware campaign use, and EPSS is 0.94668 (99.852 percentile). Reference tags include Exploit and Press/Media Coverage.
What to do
- Apply the vendor patch (commit 1c0c6cb) or upgrade to a fixed CyberPanel build; versions through 2.3.6 and unpatched 2.3.7 are affected.
- If patching is not immediately possible, restrict network access to the CyberPanel management interface and the /dns/getresetstatus and /ftp/getresetstatus endpoints.
- Follow CISA KEV required action: apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Review and harden secMiddleware so authentication is enforced for all HTTP methods, not only POST.
- Assume compromise and rotate credentials and secrets if the host was exposed before patching.
Detection
- Monitor web logs for requests to /dns/getresetstatus or /ftp/getresetstatus, especially non-POST methods.
- Inspect the statusfile parameter for shell metacharacters such as ;, |, $(), backticks, or &&.
- Alert on unexpected child processes spawned by the CyberPanel web service (e.g., shell, curl, wget, nc).
- Hunt for outbound connections or file changes consistent with post-exploitation and ransomware staging on CyberPanel hosts.
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-51378 to the Known Exploited Vulnerabilities catalog on 4 December 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 25 December 2024.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2024-51378 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-51378), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.