module

CyberPanel Multi CVE Pre-auth RCE

Disclosed
2024-10-27
Created
2024-12-05

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.

Authors

DreyAnd
Valentin Lobstein
Luka Petrovic (refr4g)

Platform

Linux,Unix

Architectures

cmd

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.