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-51568
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
CyberPanel (aka Cyber Panel) before 2.3.5 allows Command Injection via completePath in the ProcessUtilities.outputExecutioner() sink. There is /filemanager/upload (aka File Manager upload) unauthenticated remote code execution via shell metacharacters.
CVE ProgramExploit source choices
1 sourceCyberPanel Multi CVE Pre-auth RCE
2024-10-27cyberpanel_preauth_rce_multi_cve.rb