Patchfirst
CVE-2024-51567 KEVRansomwarePublic exploit Critical · 9.8 EPSS 84.4%

CyberPanel Incorrect Default Permissions Vulnerability

CyberPersons · CyberPanel

Summary

CyberPanel's upgrademysqlstatus function in databases/views.py, reachable at the /dataBases/upgrademysqlstatus endpoint, fails to enforce authentication because the secMiddleware check applies only to POST requests. An unauthenticated remote attacker with network access can send a non-POST request containing shell metacharacters in the statusfile property to execute arbitrary commands, with no user interaction or prior credentials required.

Official description · NVD

upgrademysqlstatus in databases/views.py in CyberPanel (aka Cyber Panel) before 5b08cd6 allows remote attackers to bypass authentication and execute arbitrary commands via /dataBases/upgrademysqlstatus 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 the day it was disclosed. Public exploit code (Metasploit) was available 2 days before disclosure.

  1. Public exploit codeMetasploit2 days before
  2. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  3. Added to CISA KEVknown ransomware use; EU database agrees+9 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 exploitation of public-facing web application endpoint

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

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Shell metacharacters enable arbitrary command execution on server

execute arbitrary commands via /dataBases/upgrademysqlstatus by bypassing secMiddleware
From the official description (NVD) Original (opens in a new tab) ↗

Detection

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

Rules for this CVE

0 that reference CVE-2024-51567 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