CVE-2007-3605

EnjoySAP SAP GUI - Stack-Based Buffer Overflow via PrepareToPostHTML Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2007-3605. PoCs published by Metasploit, Mark Litchfield, MC, including Metasploit module exploits/windows/browser/enjoysapgui_preparetoposthtml.

AI-analyzed exploit summary This Metasploit module exploits a stack buffer overflow in the EnjoySAP SAP GUI ActiveX Control (kwedit.dll 6400.1.1.41) via the 'PrepareToPostHTML()' method. It delivers a payload through an HTML page with embedded JavaScript to trigger arbitrary code execution.

Description

Stack-based buffer overflow in the kweditcontrol.kwedit.1 ActiveX control in FrontEnd\SapGui\kwedit.dll in the EnjoySAP SAP GUI allows remote attackers to execute arbitrary code via a long argument to the PrepareToPostHTML function.

Exploits (3)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotewindows
https://www.exploit-db.com/exploits/16498

This Metasploit module exploits a stack buffer overflow in the EnjoySAP SAP GUI ActiveX Control (kwedit.dll 6400.1.1.41) via the 'PrepareToPostHTML()' method. It delivers a payload through an HTML page with embedded JavaScript to trigger arbitrary code execution.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: EnjoySAP SAP GUI ActiveX Control (kwedit.dll 6400.1.1.41)
No auth needed
Prerequisites: Target must have the vulnerable ActiveX control installed and enabled in a browser · Attacker must deliver the exploit via a malicious webpage or phishing
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Mark Litchfield · htmldoswindows
https://www.exploit-db.com/exploits/4148

This exploit demonstrates a stack overflow vulnerability in the EnjoySAP SAP GUI for Windows via the ActiveX control 'kweditcontrol.kwedit.1'. The 'PrepareToPostHTML' function is exploited with a long string to trigger a buffer overflow.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: SAP GUI for Windows (EnjoySAP), all versions
No auth needed
Prerequisites: Victim must visit a malicious webpage or open a malicious HTML file · ActiveX controls must be enabled in the browser
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC NORMAL
by MC · rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/browser/enjoysapgui_preparetoposthtml.rb

This Metasploit module exploits a stack buffer overflow in the SAP KWEdit ActiveX Control (kwedit.dll 6400.1.1.41) via the 'PrepareToPostHTML()' method. It delivers a crafted HTML page with an overly long string to trigger arbitrary code execution on vulnerable Windows systems.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: SAP KWEdit ActiveX Control (kwedit.dll 6400.1.1.41)
No auth needed
Prerequisites: Victim must visit a malicious webpage hosting the exploit · Vulnerable version of SAP KWEdit ActiveX Control installed
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (10)

Core 10
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37690
Exploit, Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24772
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/2873
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24776
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/25959
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/35267
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4148
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/472887/100/0/threaded
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/2449

Scores

EPSS 0.6991
EPSS Percentile 99.3%

Details

Status published
Products (1)
sap/enjoysap
Published Jul 06, 2007
Tracked Since Feb 18, 2026