Patchfirst
CVE-2024-51378 KEVRansomwarePublic exploit Critical · 9.8 EPSS 94.7%

CyberPanel Incorrect Default Permissions Vulnerability

CyberPersons · CyberPanel

Summary

The getresetstatus handlers in dns/views.py and ftp/views.py of CyberPanel (CyberPersons) fail to enforce authentication on their endpoints and do not properly neutralise shell metacharacters in the statusfile property. A remote attacker with no privileges and no user interaction can send a request to /dns/getresetstatus or /ftp/getresetstatus that bypasses secMiddleware, which only applies to POST requests, to execute arbitrary operating system commands.

Official description · NVD

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.

Breakdown
79.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 3 days before it was disclosed. Public exploit code (Metasploit) was available 2 days before disclosure.

  1. First seen exploitedVulnCheck KEV evidence3 days before
  2. Public exploit codeMetasploit2 days before
  3. Disclosedday 0
  4. Added to CISA KEVknown ransomware use; EU database agrees+36 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Unauthenticated remote web endpoint exploitation

allows remote attackers to bypass authentication and execute arbitrary commands via /dns/getresetstatus
From the official description (NVD) Original (opens in a new tab) ↗

ExecutionTA0002

Unix Shell T1059.004 Medium
AI mapping from the description · primary impact

OS command injection yields Unix shell execution

using shell metacharacters in the statusfile property
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 168 general rules for its techniques

Rules for this CVE

0 that reference CVE-2024-51378 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

8 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close