CVE-2007-4528 Security feature bypass in n/a
Attackers can bypass PHP safe_mode restrictions via the FFI extension to execute arbitrary code by loading DLLs, requiring low 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-4528?
CVE-2007-4528 is a medium-severity vulnerability in Php Php, published on 25 Aug 2007. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Foreign Function Interface (ffi) extension in PHP 5.0.5 does not follow safe_mode restrictions, which allows context-dependent attackers to execute arbitrary code by loading an arbitrary DLL and calling a function, as demonstrated by kernel32.dll and the WinExec function. NOTE: this issue does not cross privilege boundaries in most contexts, so perhaps it should not be included in CVE.
Which versions are affected by CVE-2007-4528?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2007-4528?
No fix has been published for CVE-2007-4528 yet. Limit exposure of the affected software until one is available.
Is CVE-2007-4528 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-4528 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-hp4x-jx54-qxcp.