Rapid7 Vulnerability & Exploit Database

Vesta Control Panel Authenticated Remote Code Execution

Back to Search

Vesta Control Panel Authenticated Remote Code Execution

Disclosed
03/17/2020
Created
04/14/2020

Description

This module exploits an authenticated command injection vulnerability in the v-list-user-backups bash script file in Vesta Control Panel to gain remote code execution as the root user.

Author(s)

  • Mehmet Ince <mehmet@mehmetince.net>

Platform

Python

Architectures

python

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/vestacp_exec
msf exploit(vestacp_exec) > show targets
    ...targets...
msf exploit(vestacp_exec) > set TARGET < target-id >
msf exploit(vestacp_exec) > show options
    ...show and set options...
msf exploit(vestacp_exec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;