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
Apache Tomcat Resource Management Errors Vulnerability (CVE-2011-0534)
Apache HTTP Server Out-of-bounds Write Vulnerability (CVE-2017-15710)
Magento Cleartext Storage of Sensitive Information Vulnerability (CVE-2019-8118)
IBM RTC Cleartext Storage of Sensitive Information Vulnerability (CVE-2021-29786)