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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
CyberPanel Multi CVE Pre-auth RCE
exploit/unix/webapp/cyberpanel_preauth_rce_multi_cve
Exploit-DB 1
- CyberPanel 2.3.6 - Remote Code Execution (RCE) EDB-52172 · webapps · Apr 11, 2025
GitHub 3 repositories
-
refr4g/CVE-2024-51378 ★ 23 · Oct 29, 2024
Exploit for CyberPanel Pre-Auth RCE via Command Injection
-
rimbadirgantara/CVE-2024-51378 ★ 0 · Nov 11, 2025
Exploit cyberpanel version 2.3.6 - 2.3.7
-
qnole000/CVE-2024-51378 ★ 0 · Feb 12, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- CyberPanel - Command Injection http/cves/2024/CVE-2024-51378.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- WID-SEC-2024-3294 CyberPanel: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Oct 29, 2024
References
- https://cwe.mitre.org/data/definitions/78.html
- https://github.com/usmannasir/cyberpanel/commit/1c0c6cbcf71abe573da0b5fddfb9603e7477f683
- https://refr4g.github.io/posts/cyberpanel-command-injection-vulnerability/
- https://cyberpanel.net/KnowledgeBase/home/change-logs/
- https://cwe.mitre.org/data/definitions/420.html
- https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel
- https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/