CVE-2007-4010
PHP 5.2.3 - Remote Code Execution via win_shell_execute Function
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2007-4010. PoCs published by shinnai.
AI-analyzed exploit summary This exploit bypasses PHP safe_mode and disable_functions protections by leveraging the win32std extension to execute cmd.exe. It demonstrates a bypass for PHP 5.2.3 on Windows systems.
Description
The win32std extension in PHP 5.2.3 does not follow safe_mode and disable_functions restrictions, which allows remote attackers to execute arbitrary commands via the win_shell_execute function.
Exploits (1)
exploitdb
WORKING POC
VERIFIED
by shinnai · phplocalwindows
https://www.exploit-db.com/exploits/4218
This exploit bypasses PHP safe_mode and disable_functions protections by leveraging the win32std extension to execute cmd.exe. It demonstrates a bypass for PHP 5.2.3 on Windows systems.
Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target:
PHP 5.2.3 with win32std extension on Windows
No auth needed
Prerequisites:
win32std extension loaded · PHP 5.2.3 on Windows
devstral-2 · analyzed Feb 16, 2026
Full analysis →
References (3)
Core 3
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/35604
Exploit vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/25041
Exploit, Third Party Advisory exploit
x_refsource_exploit-db
https://www.exploit-db.com/exploits/4218
Scores
EPSS
0.0553
EPSS Percentile
91.8%
Details
Status
published
Products (1)
php/php
5.2.3
Published
Jul 26, 2007
Tracked Since
Feb 18, 2026