{"id":"CVE-2016-7125","published":"2016-09-12T01:00:00Z","modified":"2024-08-06T01:50:47Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0578,"percentile":0.93275,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.php.net/bug.php?id=72681","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201611-22","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1036680","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://www.tenable.com/security/tns-2016-19","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2016/09/02/9","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/92552","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.66}]},"summary":{"text":"The flaw lies in the session extension (ext/session/session.c) of PHP before 5.6.25 and 7.x before 7.0.10, where invalid session names are skipped in a way that causes incorrect parsing of session data. An attacker who can control a session name can exploit this to inject session data of an arbitrary type, as demonstrated by object injection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:05:49Z"},"euvd":{"id":"EUVD-2016-8003","exploited":false,"provenance":"source"}}