{"id":"CVE-2024-51378","published":"2024-10-29T23:15:04Z","modified":"2026-08-05T05:16:41Z","title":"CyberPanel Incorrect Default Permissions Vulnerability","vendor":"CyberPersons","product":"CyberPanel","tier":"core","eol":null,"description":{"text":"getresetstatus in dns/views.py and ftp/views.py in CyberPanel (aka Cyber Panel) before 1c0c6cb allows remote attackers to bypass authentication and execute arbitrary commands via /dns/getresetstatus or /ftp/getresetstatus 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.","provenance":"source","from":"NVD"},"summary":{"text":"The getresetstatus handlers in dns/views.py and ftp/views.py of CyberPanel (CyberPersons) fail to enforce authentication on their endpoints and do not properly neutralise shell metacharacters in the statusfile property. A remote attacker with no privileges and no user interaction can send a request to /dns/getresetstatus or /ftp/getresetstatus that bypasses secMiddleware, which only applies to POST requests, to execute arbitrary operating system commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:39Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.94748,"percentile":0.99858,"date":"2026-10-29","provenance":"source"},"kev":{"dateAdded":"2024-12-04","dueDate":"2024-12-25","ransomware":true,"requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","notes":"https://cyberpanel.net/KnowledgeBase/home/change-logs/ ; https://nvd.nist.gov/vuln/detail/CVE-2024-51378","provenance":"source"},"vulncheckKev":{"dateAdded":"2024-10-26","exploitedFirstSeen":"2024-10-26","ransomware":true,"evidence":[{"url":"https://censys.com/cve-2024-51378/","date":"2024-10-26"},{"url":"https://gist.github.com/gboddin/d78823245b518edd54bfc2301c5f8882","date":"2024-10-29"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51378","date":"2024-10-29"},{"url":"https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/","date":"2024-10-29"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-51378","date":"2024-10-29"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2024-12-04"},{"url":"https://www.trendmicro.com/en_us/research/25/e/earth-lamia.html","date":"2025-05-27"},{"url":"https://fortiguard.fortinet.com/outbreak-alert/earth-lamia-apt-attack","date":"2025-05-30"},{"url":"https://wwv.vulncheck.com/2026-vulncheck-exploit-intelligence-report","date":"2026-02-25"}],"evidenceTotal":9,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 30, 2026","url":"https://otx.alienvault.com/pulse/6ae35d889ea92b4ce19c2680","created":"2026-10-29"},{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-276","name":"Incorrect Default Permissions"}],"references":[{"url":"https://cwe.mitre.org/data/definitions/420.html","tags":["Not Applicable"]},{"url":"https://cwe.mitre.org/data/definitions/78.html","tags":["Not Applicable"]},{"url":"https://cyberpanel.net/KnowledgeBase/home/change-logs/","tags":["Release Notes"]},{"url":"https://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel","tags":["Product"]},{"url":"https://github.com/usmannasir/cyberpanel/commit/1c0c6cbcf71abe573da0b5fddfb9603e7477f683","tags":["Patch"]},{"url":"https://refr4g.github.io/posts/cyberpanel-command-injection-vulnerability/","tags":["Exploit"]},{"url":"https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/","tags":["Exploit","Press/Media Coverage"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-51378","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Unauthenticated remote web endpoint exploitation","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"allows remote attackers to bypass authentication and execute arbitrary commands via /dns/getresetstatus","start":95,"end":198}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059.004","name":"Unix Shell","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: OS command injection yields Unix shell execution","mappingType":"primary_impact","evidence":[{"from":"description","quote":"using shell metacharacters in the statusfile property","start":288,"end":341}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2024-45807","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-45807","exploited":true,"exploitedSince":"2024-12-04","provenance":"source"},"exploits":[{"id":52172,"url":"https://www.exploit-db.com/exploits/52172","title":"CyberPanel 2.3.6 - Remote Code Execution (RCE)","type":"webapps","platform":"multiple","date":"2025-04-11","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-04-11"},"pocGithub":{"count":2,"skipped":1,"earliest":"2024-10-29","earliestUrl":"https://github.com/refr4g/CVE-2024-51378","repos":[{"name":"refr4g/CVE-2024-51378","url":"https://github.com/refr4g/CVE-2024-51378","stars":23,"created":"2024-10-29"},{"name":"rimbadirgantara/CVE-2024-51378","url":"https://github.com/rimbadirgantara/CVE-2024-51378","stars":0,"created":"2025-11-11"}]},"metasploit":[{"name":"CyberPanel Multi CVE Pre-auth RCE","module":"exploit/unix/webapp/cyberpanel_preauth_rce_multi_cve","type":"exploit","disclosureDate":"2024-10-27","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cyberpanel_preauth_rce_multi_cve.rb"}],"nuclei":[{"id":"CVE-2024-51378","name":"CyberPanel - Command Injection","severity":"critical","path":"http/cves/2024/CVE-2024-51378.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-51378.yaml"}],"first":{"date":"2024-10-27","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cyberpanel_preauth_rce_multi_cve.rb"},"provenance":"source"},"exploitRefs":["https://refr4g.github.io/posts/cyberpanel-command-injection-vulnerability/","https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059.004"],"provenance":"ai"}],"timeline":[{"date":"2024-10-26","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://censys.com/cve-2024-51378/","provenance":"source"},{"date":"2024-10-27","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2024-10-29, Exploit-DB 2025-04-11","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/cyberpanel_preauth_rce_multi_cve.rb","provenance":"source"},{"date":"2024-10-29","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51378","provenance":"source"},{"date":"2024-12-04","kind":"kev","label":"Added to CISA KEV (known ransomware use)","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2024-12-04","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-45807","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":36},"priority":{"score":79.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 734 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.97,"detail":"percentile 0.9986"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 1 Exploit-DB entry; 2 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}