Rapid7 Vulnerability & Exploit Database

MS14-064 Microsoft Windows OLE Package Manager Code Execution

Back to Search

MS14-064 Microsoft Windows OLE Package Manager Code Execution



This module exploits a vulnerability found in Windows Object Linking and Embedding (OLE) allowing arbitrary code execution, publicly exploited in the wild as MS14-060 patch bypass. The Microsoft update tried to fix the vulnerability publicly known as "Sandworm". Platforms such as Windows Vista SP2 all the way to Windows 8, Windows Server 2008 and 2012 are known to be vulnerable. However, based on our testing, the most reliable setup is on Windows platforms running Office 2013 and Office 2010 SP2. Please keep in mind that some other setups such as using Office 2010 SP1 might be less stable, and may end up with a crash due to a failure in the CPackage::CreateTempFileName function.


  • Haifei Li
  • sinn3r <sinn3r@metasploit.com>
  • juan vazquez <juan.vazquez@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 exploit/windows/fileformat/ms14_064_packager_run_as_admin
msf exploit(ms14_064_packager_run_as_admin) > show targets
msf exploit(ms14_064_packager_run_as_admin) > set TARGET < target-id >
msf exploit(ms14_064_packager_run_as_admin) > show options
    ...show and set options...
msf exploit(ms14_064_packager_run_as_admin) > exploit

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