Vesta Control Panel (VestaCP) through 0.9.8-26 allows Command Injection via the schedule/backup Backup Listing Endpoint. The attacker must be able to create a crafted filename on the server, as demonstrated by an FTP session that renames .bash_logout to a .bash_logout' substring followed by shell metacharacters.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://forum.vestacp.com/viewforum.php?f=25 | release notes vendor advisory |
https://pentest.blog/vesta-control-panel-second-order-remote-code-execution-0day-step-by-step-analysis/ | third party advisory exploit |
https://github.com/rapid7/metasploit-framework/pull/13094 | third party advisory patch |
http://packetstormsecurity.com/files/157111/Vesta-Control-Panel-Authenticated-Remote-Code-Execution.html | exploit vdb entry third party advisory |
http://packetstormsecurity.com/files/157219/Vesta-Control-Panel-Authenticated-Remote-Code-Execution.html | exploit vdb entry third party advisory |