Zero-day vulnerability in CyberPanel

Improper authentication
CVE-2024-51567

Known malware:

PSAUX ransomware

Vulnerability details

Advisory: SB2024110139 - Multiple vulnerabilities in CyberPanel

Vulnerable component: CyberPanel

CVE-ID: CVE-2024-51567

CVSSv3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H/RL:O/RC:C

CWE-ID: CWE-287 - Improper Authentication

Description:

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to improper authentication within upgrademysqlstatus in databases/views.py. A remote non-authenticated attacker can send a specially crafted HTTP POST request to the /dataBases/upgrademysqlstatus endpoint, bypass authentication and execute arbitrary OS commands on the system.

Note, the vulnerability is being actively exploited in the wild.

External links:

https://dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rce