CVE-2007-5653 Security feature bypass in n/a
Attackers can bypass PHP safe_mode and disable_functions restrictions on Windows to execute arbitrary commands and escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2007-5653?
CVE-2007-5653 is a critical vulnerability in Php Php, published on 23 Oct 2007. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2007-5653?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2007-5653?
No fix has been published for CVE-2007-5653 yet. Limit exposure of the affected software until one is available.
Is CVE-2007-5653 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5653 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-wrw6-82r7-m5c2.