Rapid7 Vulnerability & Exploit Database

CyberPanel Multi CVE Pre-auth RCE

Back to Search

CyberPanel Multi CVE Pre-auth RCE

Disclosed
10/27/2024
Created
12/05/2024

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.

Author(s)

  • DreyAnd
  • Valentin Lobstein
  • Luka Petrovic (refr4g)

Platform

Linux,Unix

Architectures

cmd

Development

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_cve
msf exploit(cyberpanel_preauth_rce_multi_cve) > show targets
    ...targets...
msf exploit(cyberpanel_preauth_rce_multi_cve) > set TARGET < target-id >
msf exploit(cyberpanel_preauth_rce_multi_cve) > show options
    ...show and set options...
msf exploit(cyberpanel_preauth_rce_multi_cve) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;