Rapid7 Vulnerability & Exploit Database

Alcatel-Lucent OmniPCX Enterprise masterCGI Arbitrary Command Execution

Back to Search

Alcatel-Lucent OmniPCX Enterprise masterCGI Arbitrary Command Execution

Disclosed
09/09/2007
Created
05/30/2018

Description

This module abuses a metacharacter injection vulnerability in the HTTP management interface of the Alcatel-Lucent OmniPCX Enterprise Communication Server 7.1 and earlier. The Unified Maintenance Tool contains a 'masterCGI' binary which allows an unauthenticated attacker to execute arbitrary commands by specifying shell metacharaters as the 'user' within the 'ping' action to obtain 'httpd' user access. This module only supports command line payloads, as the httpd process kills the reverse/bind shell spawn after the HTTP 200 OK response.

Author(s)

  • aushack <patrick@osisecurity.com.au>

Platform

Unix

Architectures

cmd

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

;