CVE-2024-51378 CyberPanel Incorrect Default Permissions

Exploited in the wild Critical 10.0 Published Updated

Remote attackers can bypass authentication and execute arbitrary commands via shell metacharacters in CyberPanel's reset status endpoints.

Exploited in the wild
Since 4 Dec 2024
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-51378?

CVE-2024-51378 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

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.

Weakness: CWE-78

Which versions are affected by CVE-2024-51378?

It affects 1 product.

Products include Cyberpanel Cyberpanel.

How do I fix CVE-2024-51378?

No fix has been published for CVE-2024-51378 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 25 Dec 2024.

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

Is CVE-2024-51378 being exploited?

Yes. Attackers have exploited CVE-2024-51378 in the wild since at least 4 Dec 2024, including in ransomware campaigns.

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry, 1 Nuclei template and 3 proofs of concept on GitHub.

Sources

Also known as GHSA-c45f-33wq-x2qc.

Is CVE-2024-51378 in your software?

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

Check your SBOMs for free