Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2024-51567 β€” AI Deep Analysis Summary

CVSS 10.0 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: Critical Remote Code Execution (RCE) in CyberPanel. πŸ“‰ **Consequences**: Attackers gain full control over the server, leading to data theft, ransomware deployment, or system destruction.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: Command Injection + CSRF Bypass. πŸ’₯ **Flaw**: The `upgrademysqlstatus` endpoint in `databases/views.py` fails to properly sanitize the `statusfile` parameter.…

Q3Who is affected? (Versions/Components)

🎯 **Affected**: CyberPanel versions **v2.3.6** and **v2.3.7** (unpatched). πŸ“¦ **Component**: The `upgrademysqlstatus` API endpoint. If you are running these versions, you are in the danger zone!

Q4What can hackers do? (Privileges/Data)

πŸ’€ **Privileges**: Remote attackers can execute **arbitrary commands** with the privileges of the web server process.…

Q5Is exploitation threshold high? (Auth/Config)

⚑ **Threshold**: Extremely Low. πŸ”“ **Auth**: No authentication required (Pre-Auth). 🌐 **Network**: Accessible over the network (AV:N). You don’t even need a password to trigger this exploit!

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ”₯ **Exploit Status**: YES, Public PoCs exist on GitHub. 🌍 **Wild Exploitation**: Actively exploited in the wild by the **PSAUX** ransomware group targeting ~22,000 instances. Do not wait!

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: Scan for the endpoint `/dataBases/upgrademysqlstatus`. Use Nuclei templates or the provided Python PoCs to test if the CSRF token bypass works.…

Q8Is it fixed officially? (Patch/Mitigation)

πŸ› οΈ **Fix**: Upgrade to a version **after** commit `5b08cd6`. The vendor has acknowledged the issue. Check the official CyberPanel changelogs for the patched release. Immediate update is non-negotiable.

Q9What if no patch? (Workaround)

🚧 **Workaround**: If you can't patch immediately, **block external access** to the `/dataBases/` directory via WAF or firewall rules. Disable the endpoint if possible. This is a temporary band-aid, not a cure!

Q10Is it urgent? (Priority Suggestion)

🚨 **Urgency**: CRITICAL (Priority 1). ⏳ **Time**: Act NOW. With active ransomware campaigns exploiting this, every minute counts. Patch immediately or isolate the server to prevent catastrophic data loss.