Rapid7 Vulnerability & Exploit Database

EnjoySAP SAP GUI ActiveX Control Buffer Overflow

Back to Search

EnjoySAP SAP GUI ActiveX Control Buffer Overflow

Disclosed
07/05/2007
Created
05/30/2018

Description

This module exploits a stack buffer overflow in SAP KWEdit ActiveX Control (kwedit.dll 6400.1.1.41) provided by EnjoySAP GUI. By sending an overly long string to the "PrepareToPostHTML()" method, an attacker may be able to execute arbitrary code.

Author(s)

  • MC <mc@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/enjoysapgui_preparetoposthtml
msf exploit(enjoysapgui_preparetoposthtml) > show targets
    ...targets...
msf exploit(enjoysapgui_preparetoposthtml) > set TARGET < target-id >
msf exploit(enjoysapgui_preparetoposthtml) > show options
    ...show and set options...
msf exploit(enjoysapgui_preparetoposthtml) > 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

;