vendor:
PHP
by:
shinnai
N/A
CVSS
HIGH
Bypass of safe_mode and disable_functions protections
CWE
Product Name: PHP
Affected Version From: PHP 5.2.3
Affected Version To: Unknown
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested: Windows XP Professional SP2
2007
PHP 5.2.3 win32std extension safe_mode and disable_functions protections bypass
This exploit allows bypassing the safe_mode and disable_functions protections in PHP 5.2.3 with the win32std extension. It executes the cmd.exe command, either from the command line interface or through Apache. The exploit has been tested on a fully patched Windows XP Professional SP2 system.
Mitigation:
To mitigate this vulnerability, it is recommended to update to a newer version of PHP and apply any relevant security patches. Additionally, disabling the win32std extension or restricting its usage can help prevent exploitation.