peter bassill · operator
$ cve CVE-2007-4528 JSON

CVE-2007-4528 EXPLOIT

4.3
MEDIUM · CVSS 2.0 · EPSS 4.8% (pctl 92)

Patch early

A public exploit exists.

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.

Scoring

CVSS4.3 (MEDIUM, v2.0)
VectorAV:N/AC:M/Au:N/C:N/I:P/A:N
EPSS4.84% — more likely to be exploited than 92% of all CVEs
On CISA KEVno
Public exploityes
Published2007-08-25
Last modified2026-06-16

Affected (1)

VendorProduct
phpphp

Public exploits

SourceTitleDate
exploit-dbPHP 'FFI' Extension 5.0.5 - 'Safe_mode' Local Bypass2007-08-23

References

→ the Explorer  ·  watch your stack  ·  NVD