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.
http://secunia.com/advisories/21573
http://securityreason.com/securityalert/1466
http://www.hardened-php.net/advisory_052006.128.html
http://www.securityfocus.com/archive/1/444263/100/0/threaded
Source: MITRE
Published: 2006-08-29
Updated: 2018-10-30
Type: NVD-CWE-Other
Base Score: 7.5
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P
Impact Score: 6.4
Exploitability Score: 10
Severity: HIGH