Improper Neutralization of Special Elements in Output Used by a Downstream Component in PHP - CVE-2016-7125

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in PHP - CVE-2016-7125

Published: September 12, 2016 / Updated: August 9, 2020


Vulnerability identifier: #VU40103
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-7125
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to manipulate data.

ext/session/session.c in PHP before 5.6.25 and 7.x before 7.0.10 skips invalid session names in a way that triggers incorrect parsing, which allows remote attackers to inject arbitrary-type session data by leveraging control of a session name, as demonstrated by object injection.


Affected software

PHP
SUSE Linux
Slackware Linux

How to mitigate CVE-2016-7125

Install update from vendor's website.


External References

Related Security Bulletins