Rapid7 Vulnerability & Exploit Database

MS14-064 Microsoft Windows OLE Package Manager Code Execution Through Python

Back to Search

MS14-064 Microsoft Windows OLE Package Manager Code Execution Through Python



This module exploits a vulnerability found in Windows Object Linking and Embedding (OLE) allowing arbitrary code execution, bypassing the patch MS14-060, for the vulnerability publicly known as "Sandworm", on systems with Python for Windows installed. 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 those using Office 2010 SP1 may 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_python
msf exploit(ms14_064_packager_python) > show targets
msf exploit(ms14_064_packager_python) > set TARGET < target-id >
msf exploit(ms14_064_packager_python) > show options
    ...show and set options...
msf exploit(ms14_064_packager_python) > 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