{"uuid": "aa27eb0d-ba0e-4d35-b772-38d34eb5bd7a", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2014-4114", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/fileformat/ms14_060_sandworm.rb", "content": "{\"aliases\": [], \"arch\": \"x86\", \"author\": [\"Unknown\", \"sinn3r \", \"juan vazquez \"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": false, \"default_credential\": false, \"description\": \"This module exploits a vulnerability found in Windows Object Linking and Embedding (OLE)\\n          allowing arbitrary code execution, publicly known as \\\"Sandworm\\\". Platforms such as Windows\\n          Vista SP2 all the way to Windows 8, Windows Server 2008 and 2012 are known to be\\n          vulnerable. However, based on our testing, the most reliable setup is on Windows platforms\\n          running Office 2013 and Office 2010 SP2. And please keep in mind that some other setups such\\n          as using Office 2010 SP1 might be less stable, and sometimes may end up with a crash due to\\n          a failure in the CPackage::CreateTempFileName function.\\n\\n          This module will generate three files: an INF, a GIF, and a PPSX file. You are required to\\n          set up a SMB or Samba 3 server and host the INF and GIF there. Systems such as Ubuntu or an\\n          older version of Windows (such as XP) work best for this because they require little\\n          configuration to get going. The PPSX file is what you should send to your target.\\n\\n          In detail, the vulnerability has to do with how the Object Packager 2 component\\n          (packager.dll) handles an INF file that contains malicious registry changes, which may be\\n          leveraged for code execution. First of all, Packager does not load the INF file directly.\\n          As an attacker, you can trick it to load your INF anyway by embedding the file path as\\n          a remote share in an OLE object. The packager will then treat it as a type of media file,\\n          and load it with the packager!CPackage::OLE2MPlayerReadFromStream function, which will\\n          download it with a CopyFileW call, save it in a temp folder, and pass that information for\\n          later. The exploit will do this loading process twice: first for a fake gif file that's\\n          actually the payload, and the second for the INF file.\\n\\n          The packager will also look at each OLE object's XML Presentation Command, specifically the\\n          type and cmd property. In the exploit, \\\"verb\\\" media command type is used, and this triggers\\n          the packager!CPackage::DoVerb function. Also, \\\"-3\\\" is used as the fake gif file's cmd\\n          property, and \\\"3\\\" is used for the INF. When the cmd is \\\"-3\\\", DoVerb will bail. But when \\\"3\\\"\\n          is used (again, for the INF file), it will cause the packager to try to find appropriate\\n          handler for it, which will end up with C:\\\\Windows\\\\System32\\\\infDefaultInstall.exe, and that\\n          will install/run the malicious INF file, and finally give us arbitrary code execution.\", \"disclosure_date\": \"2014-10-14\", \"fullname\": \"exploit/windows/fileformat/ms14_060_sandworm\", \"is_install_path\": true, \"mod_time\": \"2025-06-20 13:20:44 +0000\", \"name\": \"MS14-060 Microsoft Windows OLE Package Manager Code Execution\", \"needs_cleanup\": null, \"notes\": {\"AKA\": [\"sandworm\"], \"Reliability\": [], \"SideEffects\": [], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/windows/fileformat/ms14_060_sandworm.rb\", \"platform\": \"Windows\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"windows/fileformat/ms14_060_sandworm\", \"references\": [\"CVE-2014-4114\", \"OSVDB-113140\", \"MSB-MS14-060\", \"BID-70419\", \"URL-http://www.isightpartners.com/2014/10/cve-2014-4114/\", \"URL-http://blog.trendmicro.com/trendlabs-security-intelligence/an-analysis-of-windows-zero-day-vulnerability-cve-2014-4114-aka-sandworm/\"], \"rport\": null, \"session_types\": false, \"targets\": [\"Windows 7 SP1 / Office 2010 SP2 / Office 2013\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:51:28.622397Z"}