{"id":"CVE-2016-7125","state":"PUBLISHED","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 incorrect parsing, which allows remote attackers to inject arbit","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.","publishedAt":"2016-09-12T01:00:00.000Z","updatedAt":"2024-08-06T01:50:47.525Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.php.net/ChangeLog-7.php","https://bugs.php.net/bug.php?id=72681","https://security.gentoo.org/glsa/201611-22","https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1","http://www.securitytracker.com/id/1036680","http://rhn.redhat.com/errata/RHSA-2016-2750.html","http://www.php.net/ChangeLog-5.php","https://www.tenable.com/security/tns-2016-19","http://openwall.com/lists/oss-security/2016/09/02/9","http://www.securityfocus.com/bid/92552"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:53.149Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/7xxx/CVE-2016-7125.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-7125","state":"PUBLISHED","datePublished":"2016-09-12T01:00:00.000Z","dateUpdated":"2024-08-06T01:50:47.525Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-09-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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","name":"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","name":"1036680","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","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","name":"[oss-security] 20160902 Re: CVE assignment for PHP 5.6.25 and 7.0.10 - and libcurl","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/92552","name":"92552","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-08-18T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-7125","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.php.net/ChangeLog-7.php","refsource":"CONFIRM","url":"http://www.php.net/ChangeLog-7.php"},{"name":"https://bugs.php.net/bug.php?id=72681","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=72681"},{"name":"GLSA-201611-22","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201611-22"},{"name":"https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1","refsource":"CONFIRM","url":"https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1"},{"name":"1036680","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1036680"},{"name":"RHSA-2016:2750","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html"},{"name":"http://www.php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://www.php.net/ChangeLog-5.php"},{"name":"https://www.tenable.com/security/tns-2016-19","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2016-19"},{"name":"[oss-security] 20160902 Re: CVE assignment for PHP 5.6.25 and 7.0.10 - and libcurl","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2016/09/02/9"},{"name":"92552","refsource":"BID","url":"http://www.securityfocus.com/bid/92552"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=72681","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201611-22","name":"GLSA-201611-22","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://github.com/php/php-src/commit/8763c6090d627d8bb0ee1d030c30e58f406be9ce?w=1","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securitytracker.com/id/1036680","name":"1036680","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-2750.html","name":"RHSA-2016:2750","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2016-19","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://openwall.com/lists/oss-security/2016/09/02/9","name":"[oss-security] 20160902 Re: CVE assignment for PHP 5.6.25 and 7.0.10 - and libcurl","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/92552","name":"92552","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T01:50:47.525Z"}}]}}}