Rapid7 Vulnerability & Exploit Database

Synactis PDF In-The-Box ConnectToSynactic Stack Buffer Overflow

Back to Search

Synactis PDF In-The-Box ConnectToSynactic Stack Buffer Overflow

Disclosed
05/30/2013
Created
05/30/2018

Description

This module exploits a vulnerability found in Synactis' PDF In-The-Box ActiveX component, specifically PDF_IN_1.ocx. When a long string of data is given to the ConnectToSynactis function, which is meant to be used for the ldCmdLine argument of a WinExec call, a strcpy routine can end up overwriting a TRegistry class pointer saved on the stack, resulting in arbitrary code execution under the context of the user. Also note that since the WinExec function is used to call the default browser, you must be aware that: 1) The default must be Internet Explorer, and 2) when the exploit runs, another browser will pop up. Synactis PDF In-The-Box is also used by other software such as Logic Print 2013, which is how the vulnerability was found and publicly disclosed.

Author(s)

  • h1ch4m
  • sinn3r <sinn3r@metasploit.com>

Platform

Windows

Development

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/browser/synactis_connecttosynactis_bof
msf exploit(synactis_connecttosynactis_bof) > show targets
    ...targets...
msf exploit(synactis_connecttosynactis_bof) > set TARGET < target-id >
msf exploit(synactis_connecttosynactis_bof) > show options
    ...show and set options...
msf exploit(synactis_connecttosynactis_bof) > 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

;