CVE-2007-4528

published 25 Aug 2007 · updated 7 Aug 2024

The Foreign Function Interface (ffi) extension in PHP 5.0.5 does not follow safe_mode restrictions, which allows context-dependent…

6.0MediumEPSS 5%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 5%. No fixed version is recorded.

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.

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2007-4528 severity on Zeptric[![CVE-2007-4528](https://zeptric.io/badge/cve/CVE-2007-4528.svg)](https://zeptric.io/cve/CVE-2007-4528)