{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2024-51378 in the wild since at least 4 Dec 2024, including in ransomware campaigns.","fix":"No fix has been published for CVE-2024-51378 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 25 Dec 2024.","what":"CVE-2024-51378 is a critical command injection vulnerability in n/a, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-51378 and fix it if it is affected.\n\nWhat it is: CVE-2024-51378 is a critical command injection vulnerability in n/a, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-51378 in the wild since at least 4 Dec 2024, including in ransomware campaigns.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-51378/ (Markdown: https://insights.sbomify.com/CVE-2024-51378/index.md)","id":"CVE-2024-51378","markdown":"https://insights.sbomify.com/CVE-2024-51378/index.md","name":"CVE-2024-51378","record":{"aliases":["GHSA-c45f-33wq-x2qc"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"CyberPanel web hosting","requires_auth":"none","summary":"Remote attackers can bypass authentication and execute arbitrary commands via shell metacharacters in CyberPanel's reset status endpoints.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cyberpanel","vendor":"cyberpanel"}],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2024-10-27","github_poc":3,"max_poc_stars":23,"metasploit":1,"nuclei":1,"refs":[{"date":"2024-10-29T23:34:27Z","kind":"github_poc","ref":"https://github.com/refr4g/CVE-2024-51378","stars":23,"title":"Exploit for CyberPanel Pre-Auth RCE via Command Injection"},{"date":"2024-10-27","kind":"metasploit","ref":"exploit/unix/webapp/cyberpanel_preauth_rce_multi_cve","stars":null,"title":"CyberPanel Multi CVE Pre-auth RCE"},{"date":"2025-02-12T03:48:19Z","kind":"github_poc","ref":"https://github.com/qnole000/CVE-2024-51378","stars":0,"title":null},{"date":"2025-04-11","kind":"exploitdb","ref":"52172","stars":null,"title":"CyberPanel 2.3.6 - Remote Code Execution (RCE)"},{"date":"2025-11-11T13:12:00Z","kind":"github_poc","ref":"https://github.com/rimbadirgantara/CVE-2024-51378","stars":0,"title":"Exploit cyberpanel version 2.3.6 - 2.3.7"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-51378.yaml","stars":null,"title":"CyberPanel - Command Injection"}],"tier":"exploited"},"has_fix":false,"headline":"CyberPanel Incorrect Default Permissions","id":"CVE-2024-51378","indexable":true,"kev":{"dateAdded":"2024-12-04","dueDate":"2024-12-25","knownRansomwareCampaignUse":"Known","product":"CyberPanel","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"CyberPersons","vulnerabilityName":"CyberPanel Incorrect Default Permissions Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":7,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-51379"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-51377"},"products":["n/a"],"published":"2024-10-29","related":[{"cvss_score":10,"headline":"CyberPanel Incorrect Default Permissions","id":"CVE-2024-51567","kev_date_added":"2024-11-07","published":"2024-10-29"},{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2024-51568","kev_date_added":null,"published":"2024-10-29"},{"cvss_score":8.8,"headline":"CyberPanel \u003c 2.4.5 Unauthenticated API Access via AI Scanner Endpoints","id":"CVE-2026-41473","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2024-53376","kev_date_added":null,"published":"2024-12-16"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2019-13056","kev_date_added":null,"published":"2019-07-02"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2024-56112","kev_date_added":null,"published":"2024-12-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-05","vendors":["n/a"]},"summary":"Remote attackers can bypass authentication and execute arbitrary commands via shell metacharacters in CyberPanel's reset status endpoints.","url":"https://insights.sbomify.com/CVE-2024-51378/"}