Exploit database

Vulnerability

CVE-2024-51567

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

upgrademysqlstatus in databases/views.py in CyberPanel (aka Cyber Panel) before 5b08cd6 allows remote attackers to bypass authentication and execute arbitrary commands via /dataBases/upgrademysqlstatus 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 / remotePreferred

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
ajayalf/cve-2024-51567
GH-4338918df1e3bb4253889b4ac3640d25GitHubUnofficial GitHub source

CVE-2024-51567 is a Python PoC exploit targeting an RCE vulnerability in CyberPanel v2.3.6’s upgrademysqlstatus endpoint, bypassing CSRF protections.

2024-10-312 files · 5 stars