CVEvulnerability

CVE-2016-7125

7.5 HIGH Published 2016-09-12 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2016-09-12
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
CWE-74

Description

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 configurations

• php php (<= 5.6.24) • php php 7.0.0 • php php 7.0.1 • php php 7.0.2 • php php 7.0.3 • php php 7.0.4 • php php 7.0.5 • php php 7.0.6 • php php 7.0.7 • php php 7.0.8 • php php 7.0.9

Related

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References