First published: Mon Sep 12 2016(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | <7.0.10 | 7.0.10 |
PHP | <=5.6.24 | |
PHP | =7.0.0 | |
PHP | =7.0.1 | |
PHP | =7.0.2 | |
PHP | =7.0.3 | |
PHP | =7.0.4 | |
PHP | =7.0.5 | |
PHP | =7.0.6 | |
PHP | =7.0.7 | |
PHP | =7.0.8 | |
PHP | =7.0.9 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The CVE-2016-7125 vulnerability is considered to be of high severity due to its potential for remote code execution through session data injection.
To fix CVE-2016-7125, upgrade your PHP version to 5.6.25 or later, or 7.0.10 or later.
CVE-2016-7125 affects PHP versions prior to 5.6.25 and 7.x versions before 7.0.10.
CVE-2016-7125 can lead to arbitrary session data injection attacks when an attacker controls the session name.
Yes, CVE-2016-7125 allows remote attackers to inject arbitrary-type session data, including objects.