CVE-2007-4790

Internet Explorer - Stack-Based Buffer Overflow via FoxDoCmd Function

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-4790. PoCs published by shinnai.

AI-analyzed exploit summary This exploit demonstrates a remote stack overflow in Microsoft Visual FoxPro 6.0's FPOLE.OCX control via a crafted buffer passed to the FoxDoCmd method. The PoC triggers a crash with a large string of 'b' characters, indicating potential for arbitrary code execution.

Description

Stack-based buffer overflow in certain ActiveX controls in (1) FPOLE.OCX 6.0.8450.0 and (2) Foxtlib.ocx, as used in the Microsoft Visual FoxPro 6.0 fpole 1.0 Type Library; and Internet Explorer 5.01, 6 SP1 and SP2, and 7; allows remote attackers to execute arbitrary code via a long first argument to the FoxDoCmd function.

Exploits (1)

exploitdb WORKING POC VERIFIED
by shinnai · htmldoswindows
https://www.exploit-db.com/exploits/4369

This exploit demonstrates a remote stack overflow in Microsoft Visual FoxPro 6.0's FPOLE.OCX control via a crafted buffer passed to the FoxDoCmd method. The PoC triggers a crash with a large string of 'b' characters, indicating potential for arbitrary code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Theoretical
Target: Microsoft Visual FoxPro 6.0 (FPOLE.OCX v. 6.0.8450.0)
No auth needed
Prerequisites: Victim must visit a malicious webpage hosting the exploit · FPOLE.OCX must be registered and accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=120361015026386&w=2
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36496
US Government Resource third-party-advisory x_refsource_cert
http://www.us-cert.gov/cas/techalerts/TA08-043C.html
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/0512/references
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25571
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1019378
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4369
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5481

Scores

EPSS 0.5491
EPSS Percentile 98.9%

Details

CWE
CWE-119
Status published
Products (4)
microsoft/internet_explorer 5.01
microsoft/internet_explorer 6 sp1 (2 CPE variants)
microsoft/internet_explorer 7
microsoft/visual_foxpro 6.0
Published Sep 10, 2007
Tracked Since Feb 18, 2026