Exploit database

Vulnerability

CVE-2024-51378

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:N

Description

getresetstatus in dns/views.py and ftp/views.py in CyberPanel (aka Cyber Panel) before 1c0c6cb allows remote attackers to bypass authentication and execute arbitrary commands via /dns/getresetstatus or /ftp/getresetstatus 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 Program

Exploit source choices

3 sources
CyberPanel Multi CVE Pre-auth RCE
MSF-unix--webapp--cyberpanel_preauth_rce_multi_cveMetasploitLinux,Unix / remote

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.

2024-10-27cyberpanel_preauth_rce_multi_cve.rb
refr4g/cve-2024-51378
GH-6e1d44e9beb6636068f8ba16b1f4af2bGitHubUnofficial GitHub source

Exploit for CyberPanel Pre-Auth RCE via Command Injection

2024-10-292 files · 23 stars