Skip to main content
← All vulnerabilities
CVE-2007-4528

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

Published
Last modified
published
Not listed in CISA KEV
1 on Exploit-DB

Summary

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.

Timeline

  1. Public exploit on Exploit-DB

    EDB-4311

  2. CVE published
  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

References 1

Exploit-DB