Rapid7 Vulnerability & Exploit Database

TeamViewer Unquoted URI Handler SMB Redirect

Back to Search

TeamViewer Unquoted URI Handler SMB Redirect



This module exploits an unquoted parameter call within the Teamviewer URI handler to create an SMB connection to an attacker controlled IP. TeamViewer < 8.0.258861, 9.0.258860, 10.0.258873, 11.0.258870, 12.0.258869, 13.2.36220, 14.2.56676, 14.7.48350, and 15.8.3 are vulnerable. Only Firefox can be exploited by this vulnerability, as all other browsers encode the space after 'play' and before the SMB location, preventing successful exploitation. Teamviewer 15.4.4445, and 8.0.16642 were succssfully tested against.


  • Jeffrey Hofmann <me@jeffs.sh>
  • h00die


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/server/teamviewer_uri_smb_redirect
msf auxiliary(teamviewer_uri_smb_redirect) > show actions
msf auxiliary(teamviewer_uri_smb_redirect) > set ACTION < action-name >
msf auxiliary(teamviewer_uri_smb_redirect) > show options
    ...show and set options...
msf auxiliary(teamviewer_uri_smb_redirect) > 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