CVE-2024-51568 Command injection in n/a

Critical 10.0 Published Updated

Unauthenticated attackers can execute arbitrary commands via shell metacharacters in the file manager upload feature of CyberPanel.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-51568?

CVE-2024-51568 is a critical command injection vulnerability in n/a, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CyberPanel (aka Cyber Panel) before 2.3.5 allows Command Injection via completePath in the ProcessUtilities.outputExecutioner() sink. There is /filemanager/upload (aka File Manager upload) unauthenticated remote code execution via shell metacharacters.

Weakness: CWE-78

Which versions are affected by CVE-2024-51568?

It affects 1 product.

Products include Cyberpanel Cyberpanel.

How do I fix CVE-2024-51568?

No fix has been published for CVE-2024-51568 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-51568 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51568 exists.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-q2hv-8prh-hr3r.

Is CVE-2024-51568 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free