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.
https://www.exploit-db.com/exploits/4218
https://exchange.xforce.ibmcloud.com/vulnerabilities/35604