CVE-2024-51567

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cyberpanel:cyberpanel:*:*:*:*:*:*:*:*

History

08 Nov 2024, 21:14

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 10.0
v2 : unknown
v3 : 9.8
References () https://cwe.mitre.org/data/definitions/420.html - () https://cwe.mitre.org/data/definitions/420.html - Technical Description
References () https://cwe.mitre.org/data/definitions/78.html - () https://cwe.mitre.org/data/definitions/78.html - Technical Description
References () https://cyberpanel.net/KnowledgeBase/home/change-logs/ - () https://cyberpanel.net/KnowledgeBase/home/change-logs/ - Release Notes
References () https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel - () https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel - Product
References () https://dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rce - () https://dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rce - Exploit, Patch
References () https://github.com/usmannasir/cyberpanel/commit/5b08cd6d53f4dbc2107ad9f555122ce8b0996515 - () https://github.com/usmannasir/cyberpanel/commit/5b08cd6d53f4dbc2107ad9f555122ce8b0996515 - Patch
References () https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/ - () https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/ - Press/Media Coverage
CPE cpe:2.3:a:cyberpanel:cyberpanel:*:*:*:*:*:*:*:*
CWE CWE-306
First Time Cyberpanel
Cyberpanel cyberpanel

30 Oct 2024, 14:35

Type Values Removed Values Added
CWE CWE-276
Summary
  • (es) upgrademysqlstatus en databases/views.py en CyberPanel (también conocido como Cyber Panel) anterior a 5b08cd6 permite a atacantes remotos omitir la autenticación y ejecutar comandos arbitrarios a través de /dataBases/upgrademysqlstatus omitiendo secMiddleware (que es solo para una solicitud POST) y utilizando metacaracteres de shell en la propiedad statusfile, como lo explotó PSAUX en octubre de 2024. Las versiones hasta 2.3.6 y 2.3.7 (sin parchear) se ven afectadas.

29 Oct 2024, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-29 23:15

Updated : 2024-11-08 21:14


NVD link : CVE-2024-51567

Mitre link : CVE-2024-51567

CVE.ORG link : CVE-2024-51567


JSON object : View

Products Affected

cyberpanel

  • cyberpanel
CWE
CWE-306

Missing Authentication for Critical Function

CWE-276

Incorrect Default Permissions