vendor:
PHP
by:
7.5
CVSS
HIGH
Code execution
119, 415, 276, 284, 20, 787
CWE
Product Name: PHP
Affected Version From: PHP4 and PHP5
Affected Version To:
Patch Exists: YES
Related CWE:
CPE:
Platforms Tested:
PHP4 and PHP5 Multiple Vulnerabilities
PHP4 and PHP5 are prone to multiple local and remote vulnerabilities that may lead to code execution within the context of the vulnerable process. The vulnerabilities include a heap-based buffer overflow in the 'pack()' function, a heap-based memory disclosure in the 'unpack()' function, an access control bypass vulnerability in 'safe_mode_exec_dir', an access control bypass vulnerability in 'safe_mode', a 'realpath()' path truncation vulnerability, and a memory corruption vulnerability in the 'unserialize()' function.
Mitigation:
Update to the latest version of PHP and apply any necessary patches. Implement strong access controls and input validation to prevent unauthorized access and mitigate the impact of potential vulnerabilities.