CVE-2007-4010 Command injection in n/a
Remote attackers can execute arbitrary commands via the win_shell_execute function in the PHP win32std extension, bypassing safe_mode restrictions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2007-4010?
CVE-2007-4010 is a medium-severity command injection vulnerability in Php Php, published on 26 Jul 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2007-4010?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2007-4010?
No fix has been published for CVE-2007-4010 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2007-4010 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4010 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-97qr-g756-476h.