{"id":"CVE-2007-4528","published":"2007-08-25T00:00:00Z","modified":"2024-08-07T15:01:09Z","title":"The Foreign Function Interface (ffi) extension in PHP 5.0.5 does not follow safe_mode restrictions, which allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0484,"percentile":0.92213,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/4311","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":18.44},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-08-23"},"first":{"date":"2007-08-23","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/4311"},"provenance":"source"},"summary":{"text":"The Foreign Function Interface (ffi) extension in PHP 5.0.5 fails to enforce safe_mode restrictions, so it can load arbitrary DLLs and call functions within them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:07:26Z"},"euvd":{"id":"EUVD-2007-4511","exploited":false,"provenance":"source"},"exploits":[{"id":4311,"url":"https://www.exploit-db.com/exploits/4311","title":"PHP 'FFI' Extension 5.0.5 - 'Safe_mode' Local Bypass","date":"2007-08-23","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/4311"]}