{
  "id": "CVE-2024-51567",
  "url": "https://poc.griffinguard.io/cve/CVE-2024-51567",
  "published_at": "2024-10-29T00:00:00Z",
  "title": "CyberPanel Incorrect Default Permissions Vulnerability",
  "vendor": "CyberPersons",
  "product": "CyberPanel",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2024-11-07",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 9
  },
  "first_poc": {
    "created_at": "2024-10-31T21:13:05Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 2.9,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cyberpanel_preauth_rce_multi_cve.rb"
  },
  "poc_repo_count": 4,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-306",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [
    {
      "repo": "XiaomingX/cve-2024-51567-poc",
      "url": "https://github.com/XiaomingX/cve-2024-51567-poc",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:59:14.787Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "ajayalf/CVE-2024-51567",
      "url": "https://github.com/ajayalf/CVE-2024-51567",
      "created_at": "2024-10-31T21:55:57Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-04-06T20:02:02Z"
    },
    {
      "repo": "thehash007/CVE-2024-51567-RCE-EXPLOIT",
      "url": "https://github.com/thehash007/CVE-2024-51567-RCE-EXPLOIT",
      "created_at": "2024-11-07T13:52:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-06-30T02:07:57Z"
    },
    {
      "repo": "KKDT12138/cve-2024-51567-poc",
      "url": "https://github.com/KKDT12138/cve-2024-51567-poc",
      "created_at": "2025-08-07T02:15:49Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-02T03:14:02Z"
    },
    {
      "repo": "tajulasri/cyberpanel-poc",
      "url": "https://github.com/tajulasri/cyberpanel-poc",
      "created_at": "2026-10-22T06:47:38Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-01-29T00:48:01Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cyberpanel_preauth_rce_multi_cve.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: CyberPanel Multi CVE Pre-auth RCE (exploit/unix/webapp/cyberpanel_preauth_rce_multi_cve)",
      "published_at": "2024-10-31T21:13:05Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-51567.yaml",
      "source": "nuclei",
      "title": "nuclei template: CyberPanel v2.3.6 Pre-Auth Remote Code Execution",
      "published_at": "2025-03-17T08:06:31Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "PUT",
      "path_template": "/dataBases/upgrademysqlstatus",
      "headers": [
        {
          "name": "Referer",
          "value": "{var}"
        },
        {
          "name": "X-Csrftoken",
          "value": "{var}"
        }
      ],
      "body_markers": [
        "\"statusfile\"",
        "\"csrftoken\""
      ],
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "KKDT12138/cve-2024-51567-poc",
        "ajayalf/CVE-2024-51567",
        "thehash007/CVE-2024-51567-RCE-EXPLOIT"
      ],
      "repo_count": 3,
      "confidence": 0.7,
      "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"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/ai-scanner/list-api-keys",
      "ports": [
        8090
      ],
      "protocol": "https",
      "repos": [
        "tajulasri/cyberpanel-poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "tajulasri/cyberpanel-poc/cp_poc.py:251"
      ]
    },
    {
      "method": "POST",
      "path_template": "/verifyLogin",
      "headers": [
        {
          "name": "Referer",
          "value": "{var}/"
        },
        {
          "name": "X-Csrftoken",
          "value": "{var}"
        }
      ],
      "content_type": "application/json",
      "ports": [
        8090
      ],
      "protocol": "https",
      "repos": [
        "tajulasri/cyberpanel-poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "tajulasri/cyberpanel-poc/cp_poc.py:158"
      ]
    }
  ],
  "rules": []
}
