### [CVE-2024-51378](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-51378) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen) ### 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. ### POC #### Reference - https://refr4g.github.io/posts/cyberpanel-command-injection-vulnerability/ - https://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/ #### Github - https://github.com/ReverseArt/CVE-24-DEC - https://github.com/fkie-cad/nvd-json-data-feeds - https://github.com/i0x29A/CVE-2024-51378 - https://github.com/nomi-sec/PoC-in-GitHub - https://github.com/packetinside/CISA_BOT - https://github.com/qnole000/CVE-2024-51378 - https://github.com/refr4g/CVE-2024-51378 - https://github.com/sarperavci/ExploitMe - https://github.com/ums91/CISA_BOT