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
phpMyAdmin Improper Input Validation Vulnerability (CVE-2011-0987)
Grafana Improper Verification of Cryptographic Signature Vulnerability (CVE-2022-31123)
MediaWiki Resource Management Errors Vulnerability (CVE-2015-8003)
WordPress Plugin Cookie Notice & Compliance for GDPR/CCPA Cross-Site Scripting (2.1.1)
WordPress Plugin Yasr-Yet Another Stars Rating Unspecified Vulnerability (1.7.0)