Description
The session extension in PHP 4 before 4.4.5, and PHP 5 before 5.2.1, calculates the reference count for the session variables without considering the internal pointer from the session globals, which allows context-dependent attackers to execute arbitrary code via a crafted string in the session_register after unsetting HTTP_SESSION_VARS and _SESSION, which destroys the session data Hashtable.
Remediation
References
Related Vulnerabilities
WordPress Plugin Slideshow Pro 'upload.php' Arbitrary File Upload (2.1)
Elgg Exposure of Private Personal Information to an Unauthorized Actor Vulnerability (CVE-2021-3980)
WordPress Plugin Badgearoo Cross-Site Scripting (1.0.8)
TYPO3 Deserialization of Untrusted Data Vulnerability (CVE-2020-15098)
Liferay DXP URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2023-44308)