CyberPersons CyberPanel
CyberPanel Incorrect Default Permissions Vulnerability
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.
Timeline
Days relative to CVE publicationFirst public PoC 2.9 days after publication; added to CISA KEV 9 days after publication. First PoC: Metasploit exploit: CyberPanel Multi CVE Pre-auth RCE (exploit/unix/webapp/cyberpanel_preauth_rce_multi_cve) (Metasploit, 31 Oct 2024).
PoC repositories
Found on GitHub.4 PoCs · 1 pending
PoCs 4
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| ajayalf/CVE-2024-51567 | 31 Oct 2024 +2.9 d | backfilled | 5 | PoC |
| thehash007/CVE-2024-51567-RCE-EXPLOIT | 7 Nov 2024 +9.6 d | backfilled | 1 | PoC |
| KKDT12138/cve-2024-51567-poc | 7 Aug 2025 +282 d | backfilled | 0 | PoC |
| tajulasri/cyberpanel-poc | 22 Oct 2026 +2.0 y | 14 Nov 2026 | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| XiaomingX/cve-2024-51567-poc | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: CyberPanel Multi CVE Pre-auth RCE (exploit/unix/webapp/cyberpanel_preauth_rce_multi_cve) | 31 Oct 2024 | 14 Nov 2026 |
| nuclei template | nuclei template: CyberPanel v2.3.6 Pre-Auth Remote Code Execution | 17 Mar 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 4 PoC reposPUT /dataBases/upgrademysqlstatus
- Key headers
Referer: {var}X-Csrftoken: {var}- Body markers
"statusfile""csrftoken"inapplication/json- Seen in
- 3 repos: KKDT12138/cve-2024-51567-poc, ajayalf/CVE-2024-51567, thehash007/CVE-2024-51567-RCE-EXPLOIT
- Evidence
- KKDT12138/cve-2024-51567-poc/CVE-2024-51567.py:20 ajayalf/CVE-2024-51567/CVE-2024-51567.py:36 thehash007/CVE-2024-51567-RCE-EXPLOIT/cyberpanel-rce.py:18
GET /api/ai-scanner/list-api-keys
- Ports
- 8090
- Seen in
- 1 repo: tajulasri/cyberpanel-poc
- Evidence
- tajulasri/cyberpanel-poc/cp_poc.py:251
POST /verifyLogin
- Key headers
Referer: {var}/X-Csrftoken: {var}- Content-Type
application/json- Ports
- 8090
- Seen in
- 1 repo: tajulasri/cyberpanel-poc
- Evidence
- tajulasri/cyberpanel-poc/cp_poc.py:158
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/dataBases/upgrademysqlstatus(?:[?#].*)?$
(?i)^/api/ai-scanner/list-api-keys(?:[?#].*)?$
(?i)^/verifyLogin(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2024-51567 CyberPersons CyberPanel exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.uri; content:"/dataBases/upgrademysqlstatus"; http.header_names; content:"Referer"; nocase; http.header_names; content:"X-Csrftoken"; nocase; http.request_body; content:"|22|statusfile|22|"; http.request_body; content:"|22|csrftoken|22|"; reference:url,poc.griffinguard.io/cve/CVE-2024-51567; classtype:web-application-attack; sid:9799014; rev:1;)
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2024-51567 CyberPersons CyberPanel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/ai-scanner/list-api-keys"; reference:url,poc.griffinguard.io/cve/CVE-2024-51567; classtype:web-application-attack; sid:9225083; rev:1;)
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2024-51567 CyberPersons CyberPanel exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/verifyLogin"; http.header_names; content:"Referer"; nocase; http.header_names; content:"X-Csrftoken"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2024-51567; classtype:web-application-attack; sid:9116190; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: CyberPersons CyberPanel exploit attempt (CVE-2024-51567)
id: gg-pocmon-cve-2024-51567-9799014
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-51567. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-51567
logsource:
category: webserver
detection:
selection:
cs-method: PUT
cs-uri-stem|contains|all:
- '/dataBases/upgrademysqlstatus'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.51567
title: CyberPersons CyberPanel exploit attempt (CVE-2024-51567)
id: gg-pocmon-cve-2024-51567-9225083
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-51567. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-51567
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/ai-scanner/list-api-keys'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.51567
title: CyberPersons CyberPanel exploit attempt (CVE-2024-51567)
id: gg-pocmon-cve-2024-51567-9116190
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-51567. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2024-51567
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/verifyLogin'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2024.51567