PoC Monitor
← All CVEs
CVE-2024-51567published 29 Oct 2024 00:00 UTCData: JSON · API

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.

First public PoC 2.9 daysafter publication · 31 Oct 2024 · Metasploit
Public PoCs64 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-306
CISA KEV 7 Nov 20249 days after publication · ransomware use known

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10CVE published29 Oct 2024 · t = 0First public PoC31 Oct 2024 · t+2.9dAdded to CISA KEV7 Nov 2024 · t+9d

First 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
RepositoryCreatedFound by usStarsAssessment
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
RepositoryCreatedStarsAssessment
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.

PoC characteristics

What to hunt for in your logs · from 4 PoC repos

PUT /dataBases/upgrademysqlstatus

Key headers
Referer: {var} X-Csrftoken: {var}
Body markers
"statusfile" "csrftoken" in application/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.

PUT /dataBases/upgrademysqlstatus
(?i)^/dataBases/upgrademysqlstatus(?:[?#].*)?$
GET /api/ai-scanner/list-api-keys
(?i)^/api/ai-scanner/list-api-keys(?:[?#].*)?$
POST /verifyLogin
(?i)^/verifyLogin(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

PUT /dataBases/upgrademysqlstatus
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;)
GET /api/ai-scanner/list-api-keys
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;)
POST /verifyLogin
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.

PUT /dataBases/upgrademysqlstatus
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
GET /api/ai-scanner/list-api-keys
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
POST /verifyLogin
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