CVE-2007-5322

Microsoft Visual FoxPro 6.0 - Remote Code Execution via FPOLE.OCX FoxDoCmd Function

Title source: llm
STIX 2.1

Exploitation Summary

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

AI-analyzed exploit summary This exploit leverages the FoxDoCmd method in the FPOLE.OCX ActiveX control to execute arbitrary commands. It demonstrates command execution via a VBScript onclick event, launching cmd.exe to open notepad.exe.

Description

Insecure method vulnerability in the FPOLE.OCX 6.0.8450.0 ActiveX control in Microsoft Visual FoxPro 6.0 allows remote attackers to execute arbitrary programs by specifying them as an argument to the FoxDoCmd function.

Exploits (1)

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

This exploit leverages the FoxDoCmd method in the FPOLE.OCX ActiveX control to execute arbitrary commands. It demonstrates command execution via a VBScript onclick event, launching cmd.exe to open notepad.exe.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Visual FoxPro 6.0 FPOLE.OCX (Version 6.0.8450.0)
No auth needed
Prerequisites: Victim must visit a malicious webpage or open a malicious HTML file · FPOLE.OCX must be registered and vulnerable on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/37035
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/38487
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25977
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4506
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27165

Scores

EPSS 0.1858
EPSS Percentile 96.9%

Details

CWE
CWE-78
Status published
Products (1)
microsoft/visual_foxpro 6.0
Published Oct 09, 2007
Tracked Since Feb 18, 2026