Rapid7 Vulnerability & Exploit Database

Roxy-WI Prior to 6.1.1.0 Unauthenticated Command Injection RCE

Back to Search

Roxy-WI Prior to 6.1.1.0 Unauthenticated Command Injection RCE

Disclosed
07/06/2022
Created
08/29/2022

Description

This module exploits an unauthenticated command injection vulnerability in Roxy-WI prior to version 6.1.1.0. Successful exploitation results in remote code execution under the context of the web server user. Roxy-WI is an interface for managing HAProxy, Nginx and Keepalived servers.

Author(s)

  • Nuri Çilengir <nuri@prodaft.com>

Platform

Linux,Unix

Architectures

cmd, x86, x64

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/roxy_wi_exec
msf exploit(roxy_wi_exec) > show targets
    ...targets...
msf exploit(roxy_wi_exec) > set TARGET < target-id >
msf exploit(roxy_wi_exec) > show options
    ...show and set options...
msf exploit(roxy_wi_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

;