Rapid7 Vulnerability & Exploit Database

RealVNC NULL Authentication Mode Bypass

Back to Search

RealVNC NULL Authentication Mode Bypass



This module exploits an Authentication bypass Vulnerability in RealVNC Server version 4.1.0 and 4.1.1. It sets up a proxy listener on LPORT and proxies to the target server The AUTOVNC option requires that vncviewer be installed on the attacking machine.


  • hdm <x@hdm.io>
  • theLightCosine <theLightCosine@metasploit.com>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/admin/vnc/realvnc_41_bypass
msf auxiliary(realvnc_41_bypass) > show actions
msf auxiliary(realvnc_41_bypass) > set ACTION < action-name >
msf auxiliary(realvnc_41_bypass) > show options
    ...show and set options...
msf auxiliary(realvnc_41_bypass) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security