Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2024-51568: CyberPanel File Manager Upload Command Injection

Published Oct 29, 2024 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS47.7%99th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Cyberpanel
IdentifiersCVE-2024-51568CWE-78 · Improper Neutralization of Special…

CVE-2024-51568 is an unauthenticated OS command-injection vulnerability in CyberPanel versions before 2.3.5. In the File Manager upload functionality, exception handling could allow requests lacking valid session or administrator data to proceed to the upload operation. An attacker-controlled completePath value was incorporated into an ls command passed to the ProcessUtilities.outputExecutioner execution sink without safe argument handling, allowing shell metacharacters to inject arbitrary commands.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A remote unauthenticated attacker can execute arbitrary operating-system commands on the CyberPanel host. The resulting privileges depend on the account and privilege configuration under which the affected CyberPanel process and command-execution utility run.

Mitigation

If you can’t patch tonight, do this now.

Until upgrades are complete, restrict access to the CyberPanel management interface to trusted administrative networks, disable or block File Manager upload functionality where operationally feasible, and monitor for anomalous command execution spawned by CyberPanel. Apply compensating network controls to prevent unauthenticated access to the management service.

Remediation

Patch, then assume compromise.

Upgrade CyberPanel to version 2.3.5 or a later supported release containing the File Manager upload security fix. Validate that the deployed version includes both enforced authentication before upload processing and safe handling of externally supplied filesystem arguments.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
cyberpanel_preauth_rce_multi_cve.rbThis repository contains a single Metasploit module (Ruby file) that exploits three unauthenticated remote code execution vulnerabilities in CyberPanel, a popular web hosting control panel. The module targets CVE-2024-51567, CVE-2024-51568, and CVE-2024-51378, each corresponding to different HTTP endpoints and injection vectors within CyberPanel. The exploit does not require authentication and can be used against any accessible, vulnerable CyberPanel instance (typically on port 8090 over HTTPS). The module is weaponized, supporting arbitrary command execution via Metasploit's payload system, and is suitable for both proof-of-concept and real-world exploitation. The code is well-structured, leveraging Metasploit's HttpClient and AutoCheck features, and includes logic for detection, exploitation, and payload delivery. The main endpoints targeted are '/dataBases/upgrademysqlstatus', '/filemanager/upload', '/ftp/getresetstatus', and '/dns/getresetstatus'. The module is intended for use by penetration testers and red teamers to demonstrate the impact of these vulnerabilities.Disclosed Oct 27, 2024 · Framework: metasploit · ruby · networkWeaponizedCVE-2024-51568---CyberPanel-Command-Injection-Nuclei-TemplateThis repository provides a proof-of-concept (PoC) environment and a Nuclei template for testing CVE-2024-51568, a critical pre-authentication command injection vulnerability in CyberPanel (versions before 2.3.5). The repository consists of four files: a detailed README, a Dockerfile and docker-compose configuration for spinning up a vulnerable CyberPanel instance, and a Nuclei YAML template that automates exploitation and detection. The main exploit is implemented as a Nuclei template (template/cve-2024-51568.yaml), which performs the following steps: 1. Extracts a CSRF token from the CyberPanel web interface. 2. Sends a crafted POST request to the /filemanager/upload endpoint, injecting a command into the completePath parameter. 3. The injected command triggers an outbound HTTP/DNS request to an Interactsh server, confirming successful code execution. The Docker environment allows users to easily deploy a vulnerable CyberPanel instance for testing. The exploit does not require authentication and achieves remote code execution as root. The repository is intended for security research and educational purposes only.jsnv-dev · Disclosed Sep 2, 2025 · Framework: nuclei · yaml · dockerfile · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
CyberpanelCyberpanelapplication
FAQ

Frequently asked questions

Is CVE-2024-51568 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2024-51568?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2024-51568, the earliest disclosed Oct 27, 2024.
Is there a patch for CVE-2024-51568?
Upgrade CyberPanel to version 2.3.5 or a later supported release containing the File Manager upload security fix. Validate that the deployed version includes both enforced authentication before upload processing and safe handling of externally supplied filesystem arguments.
What products are affected by CVE-2024-51568?
Cyberpanel.
How severe is CVE-2024-51568?
CVE-2024-51568 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 47.7% (99th percentile) as of Sep 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.