CVE-2024-51567
CyberPanel Incorrect Default Permissions Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 28 November 2024). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
Description
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 86.52% probability · 100th percentile
- CISA KEV
- Listed 7 November 2024 · due 28 November 2024 · used in ransomware campaigns
- Weakness
- CWE-306
- Affected
- cyberpanel/cyberpanel
- Source
- cve@mitre.org
CISA notes
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel ; https://nvd.nist.gov/vuln/detail/CVE-2024-51567
References
- https://cwe.mitre.org/data/definitions/420.htmlTechnical Description
- https://cwe.mitre.org/data/definitions/78.htmlTechnical Description
- https://cyberpanel.net/KnowledgeBase/home/change-logs/Release Notes
- https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanelProduct
- https://dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rceExploit, Patch
- https://github.com/usmannasir/cyberpanel/commit/5b08cd6d53f4dbc2107ad9f555122ce8b0996515Patch
- https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/Press/Media Coverage
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-51567US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.