Zero-day vulnerability in CyberPanel

Improper Authentication
CVE-2024-51378

Known malware:

PSAUX ransomware

Vulnerability details

Advisory: SB2024110139 - Multiple vulnerabilities in CyberPanel

Vulnerable component: CyberPanel

CVE-ID: CVE-2024-51378

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 getresetstatus in dns/views.py. A remote non-authenticated attacker can send a specially crafted HTTP POST request to the  /dns/getresetstatus or /ftp/getresetstatus endpoints, bypass authentication and execute arbitrary OS commands on the system.

External links:

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