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.
Remediation
References
Related Vulnerabilities
Moodle Permissions, Privileges, and Access Controls Vulnerability (CVE-2013-1834)
WordPress Plugin Fotobook Cross-Site Scripting (3.2.3)
phpBB Permissions, Privileges, and Access Controls Vulnerability (CVE-2008-6506)
Jenkins Insufficient Session Expiration Vulnerability (CVE-2019-1003004)
Roundcube Cross-site Scripting (XSS) Vulnerability (CVE-2016-4068)