CVE-2007-5653

Php < 5.2.4 - OS Command Injection

Title source: rule

Description

The Component Object Model (COM) functions in PHP 5.x on Windows do not follow safe_mode and disable_functions restrictions, which allows context-dependent attackers to bypass intended limitations, as demonstrated by executing objects with the kill bit set in the corresponding ActiveX control Compatibility Flags, executing programs via a function in compatUI.dll, invoking wscript.shell via wscript.exe, invoking Scripting.FileSystemObject via wshom.ocx, and adding users via a function in shgina.dll, related to the com_load_typelib function.

Exploits (1)

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

Scores

EPSS 0.0304
EPSS Percentile 86.5%

Classification

CWE
CWE-78
Status draft

Affected Products (1)

php/php < 5.2.4

Timeline

Published Oct 23, 2007
Tracked Since Feb 18, 2026