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

- Page: https://www.vulneraibility.com/cve/CVE-2024-51567
- CVSS: 10.0
- Known exploited: yes, in CISA KEV since 2024-11-07; CISA due date 2024-11-28; known ransomware use
- EPSS: 84.40%
- Public exploit code: 1 Metasploit module · 3 GitHub proofs of concept · 1 Nuclei template (first 2024-10-31)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2024-11-01)
- Weakness: CWE-306
- Published: 2024-10-29

## Affected

- cyberpanel:cyberpanel

## References

- [other] https://cwe.mitre.org/data/definitions/78.html
- [other] https://dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rce
- [other] https://github.com/usmannasir/cyberpanel/commit/5b08cd6d53f4dbc2107ad9f555122ce8b0996515
- [other] https://cyberpanel.net/KnowledgeBase/home/change-logs/
- [other] https://cwe.mitre.org/data/definitions/420.html
- [other] https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel
- [other] https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-51567

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
