Description
PHP before 4.4.3 and 5.x before 5.1.4 does not limit the character set of the session identifier (PHPSESSID) for third party session handlers, which might make it easier for remote attackers to exploit other vulnerabilities by inserting PHP code into the PHPSESSID, which is stored in the session file. NOTE: it could be argued that this not a vulnerability in PHP itself, rather a design limitation that enables certain attacks against session handlers that do not account for this limitation.
Remediation
References
Related Vulnerabilities
WordPress Plugin All 404 Redirect to Homepage Cross-Site Scripting (1.21)
MySQL CVE-2023-22104 Vulnerability (CVE-2023-22104)
IBM RTC Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2017-1509)
WordPress Plugin Zielke Specialized Catalog Arbitrary File Upload (3.0.7)
WordPress Plugin Accept Donations with PayPal Cross-Site Request Forgery (1.3.3)