Description
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.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/unix/webapp/cyberpanel_preauth_rce_multi_cvemsf undefined(cyberpanel_preauth_rce_multi_cve) > show actions ...actions...msf undefined(cyberpanel_preauth_rce_multi_cve) > set ACTION < action-name >msf undefined(cyberpanel_preauth_rce_multi_cve) > show options ...show and set options...msf undefined(cyberpanel_preauth_rce_multi_cve) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub