7.5high

CVE-2016-7125

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, whic…

Published 10 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
5.8%
percentile 93%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

5.78% probability of exploitation in the next 30 days, higher than 93% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Technology feeds
PHP (RSS, critical only)

References

  • php.net /ChangeLog-7.php · x_refsource_CONFIRM, x_transferred
  • bugs.php.net /bug.php?id=72681 · x_refsource_CONFIRM, x_transferred
  • security.gentoo.org /glsa/201611-22 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • github.com /php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1 · x_refsource_CONFIRM, x_transferred
  • securitytracker.com /id/1036680 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-2750.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • php.net /ChangeLog-5.php · x_refsource_CONFIRM, x_transferred
  • tenable.com /security/tns-2016-19 · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2016/09/02/9 · mailing-list, x_refsource_MLIST, x_transferred
  • securityfocus.com /bid/92552 · vdb-entry, x_refsource_BID, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.