Vulnerability & Exploit Database

Back to search

Microsoft Word UNC Path Injector

This module modifies a .docx file that will, upon opening, submit stored netNTLM credentials to a remote host. It can also create an empty docx file. If emailed the receiver needs to put the document in editing mode before the remote server will be contacted. Preview and read-only mode do not work. Verified to work with Microsoft Word 2003, 2007, 2010, and 2013. In order to get the hashes the auxiliary/server/capture/smb module can be used.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • SphaZ <cyberphaz [at]>




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