CVE-2024-51378KEV · OVERDUECWE-78command-injection

CyberPanel Incorrect Default Permissions Vulnerability

Critical · published October 30, 2024

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 10.0. It is confirmed in active exploitation. It sits in the 99.9th percentile for exploit probability.

668
days past CISA
deadline
CVSS v3.1
10.0
EPSS
95%
Percentile
99.9
In the wild
Confirmed
What it is

🚨 A sneaky exploit lets attackers bypass authentication and execute any command they want via CyberPanel's DNS and FTP endpoints. 🔥 Think of it like a restaurant where the waiter accidentally leaves the back door open, allowing anyone to stroll in and start rearranging the kitchen or messing with orders without anyone noticing. That's exactly what happens here when the secMiddleware checks fail to kick in for specific requests! An attacker could execute arbitrary commands on your server, leading to an absolute disaster like data breaches, system manipulation, or even complete control over your environment. With real-world exploits already reported, this vulnerability is a ticking time bomb for any affected systems!

Put simply

Think of it like a restaurant where the waiter accidentally leaves the back door open, allowing anyone to stroll in and start rearranging the kitchen or messing with orders without anyone noticing. That's exactly what happens here when the secMiddleware checks fail to kick in for specific requests! The flaw exists in CyberPanel before version 2.3.7, where the 'getresetstatus' function in the DNS and FTP views allows remote attackers to use shell metacharacters to bypass authentication checks, specifically for GET requests. This flaw enables executing arbitrary commands without proper access control.

What to do

An attacker could execute arbitrary commands on your server, leading to an absolute disaster like data breaches, system manipulation, or even complete control over your environment. With real-world exploits already reported, this vulnerability is a ticking time bomb for any affected systems! To protect your systems, immediately patch to version 2.3.8 or later. Review your configuration and ensure that secMiddleware effectively validates all incoming requests, regardless of the method. Implement additional security measures to monitor and log requests for suspicious activity. You've got this! Fixing this vulnerability will bolster your security and keep your systems safe from potential chaos. 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.94748 · 99.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2024-10-30T03:15Z
KEV added
2024-12-04 · due 2024-12-25
Affected products (1)
ProductVersionsFixed in
cyberpanel/cyberpanel< 2.3.82.3.8
References (8)
EPSS history
Timeline
  • 04 DEC 00:00Z
    Added to CISA KEV — remediate by Dec 25
    kev
  • 29 OCT 00:00Z
    getresetstatus in dns/views.py and ftp/views.py in CyberPanel (aka Cyber Panel) before 1c0c6cb allows remote attackers to bypass authentication and execute…
    cvelistv5