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.
CVSS breakdown
CVSS 3.1
Attack Complexity
Low
Attack Vector
Network
Availability
High
Confidentiality
High
Integrity
High
Privileges Required
None
Scope
Changed
User Interaction
None
Exploits & proofs of concept
- nucleiCyberPanel - Command Injectionby ritikchaddha
References
- MISChttps://cwe.mitre.org/data/definitions/78.html
- PATCHhttps://github.com/usmannasir/cyberpanel/commit/1c0c6cbcf71abe573da0b5fddfb9603e7477f683
- MISChttps://refr4g.github.io/posts/cyberpanel-command-injection-vulnerability/
- MISChttps://cyberpanel.net/KnowledgeBase/home/change-logs/
- MISChttps://cwe.mitre.org/data/definitions/420.html
- MISChttps://cyberpanel.net/blog/detials-and-fix-of-recent-security-issue-and-patch-of-cyberpanel
- MISChttps://www.bleepingcomputer.com/news/security/massive-psaux-ransomware-attack-targets-22-000-cyberpanel-instances/