This module exploits three separate unauthenticated Remote Code Execution vulnerabilities in CyberPanel: - CVE-2024-51567: Command injection vulnerability in the "upgrademysqlstatus" endpoint. - CVE-2024-51568: Command Injection via the "completePath" parameter in the "outputExecutioner" sink. - CVE-2024-51378: Unauthenticated RCE in "/ftp/getresetstatus" and "/dns/getresetstatus". These vulnerabilities were exploited in ransomware campaigns affecting over 22,000 CyberPanel instances, with the PSAUX ransomware being the primary actor in these attacks.
Exploit database
Vulnerability
CVE-2024-51567
Vulnerability details
- Score
- 10.0
- Severity
- critical
CVSS 3.1 · mitre
Vector string
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:NDescription
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.
CVE ProgramExploit source choices
3 sourcesCyberPanel Multi CVE Pre-auth RCE
2024-10-27cyberpanel_preauth_rce_multi_cve.rb
ajayalf/cve-2024-51567
CVE-2024-51567 is a Python PoC exploit targeting an RCE vulnerability in CyberPanel v2.3.6’s upgrademysqlstatus endpoint, bypassing CSRF protections.
2024-10-312 files · 5 stars
thehash007/cve-2024-51567-rce-exploit
cbyerpanel rce exploit
2024-11-073 files · 1 stars