vendor:
PHP
by:
Stefano Di Paola
7.5
CVSS
HIGH
Integer Handling
119
CWE
Product Name: PHP
Affected Version From: Unknown
Affected Version To: Unknown
Patch Exists: NO
Related CWE:
CPE:
Platforms Tested:
2004
PHP shared memory module (shmop) Integer Handling Vulnerability
The PHP shared memory module (shmop) is prone to an integer handling vulnerability. The issue exists in the PHP_FUNCTION(shmop_write) function and is a result of a lack of sufficient sanitization performed on 'offset' data. This vulnerability may be exploited to make an almost arbitrary write into process memory. It is reported that the vulnerability may be leveraged to disable PHP 'safe mode', which may result in further compromise in a shared-server environment.
Mitigation:
Apply the latest patches or upgrades from the vendor. Ensure proper input validation and sanitization of user-supplied data to prevent integer handling vulnerabilities.