CVE-2024-51378 in cyberpanel

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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.

Affected software: cyberpanel

Scores

What LogPulse has for it

How to mitigate it

Upgrade CyberPanel for the upgrademysqlstatus command injection (CVE-2024-51378, CVE-2024-51567)

Patch or upgrade. CyberPanel before the October 2024 security patch lets unauthenticated attackers run commands as root through upgrademysqlstatus and statusfile; the PSAUX ransomware hit thousands of servers this way. The vendor patch and upgrade close it.

Applies to: CyberPanel 2.3.6 and unpatched 2.3.7.

  1. Check the CyberPanel version on the server.
  2. Upgrade CyberPanel to the release with the October 2024 security fix as the CyberPanel blog post describes (sh <(curl https://cyberpanel.net/install.sh) or the upgrade script).
  3. Allow port 8090 only from admin IPs with the host firewall.
  4. Look for encrypted files with the .psaux extension, unknown cron jobs and new SSH keys.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse