CVE-2016-7124
php: bypass __wakeup() in deserialization of an unexpected object
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (low).
Description
ext/standard/var_unserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data that leads to a (1) __destruct call or (2) magic method call.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u6 |
| debian 8 | php5 | 5.6.26+dfsg-0+deb8u1 |
| Red Hat | php, php-bcmath, php-cli and 25 more | no fix listed |
| ubuntu 12.04 | php5 | 5.3.10-1ubuntu3.25 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.20 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.20 |
| ubuntu 16.04 | php7.0 | 7.0.8-0ubuntu0.16.04.3 |
| ubuntu 16.04-ESM | php7.0 | 7.0.8-0ubuntu0.16.04.3 |
Show all 35 entries from 8 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 7 | php5 | 5.4.45-0+deb7u6 |
| debian 8 | php5 | 5.6.26+dfsg-0+deb8u1 |
| Red Hat | php | no fix listed |
| Red Hat | php-bcmath | no fix listed |
| Red Hat | php-cli | no fix listed |
| Red Hat | php-common | no fix listed |
| Red Hat | php-dba | no fix listed |
| Red Hat | php-devel | no fix listed |
| Red Hat | php-embedded | no fix listed |
| Red Hat | php-enchant | no fix listed |
| Red Hat | php-fpm | no fix listed |
| Red Hat | php-gd | no fix listed |
| Red Hat | php-imap | no fix listed |
| Red Hat | php-intl | no fix listed |
| Red Hat | php-ldap | no fix listed |
| Red Hat | php-mbstring | no fix listed |
| Red Hat | php-mysql | no fix listed |
| Red Hat | php-mysqlnd | no fix listed |
| Red Hat | php-odbc | no fix listed |
| Red Hat | php-pdo | no fix listed |
| Red Hat | php-pgsql | no fix listed |
| Red Hat | php-process | no fix listed |
| Red Hat | php-pspell | no fix listed |
| Red Hat | php-recode | no fix listed |
| Red Hat | php-snmp | no fix listed |
| Red Hat | php-soap | no fix listed |
| Red Hat | php-tidy | no fix listed |
| Red Hat | php-xml | no fix listed |
| Red Hat | php-xmlrpc | no fix listed |
| Red Hat | php-zts | no fix listed |
| ubuntu 12.04 | php5 | 5.3.10-1ubuntu3.25 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.20 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.20 |
| ubuntu 16.04 | php7.0 | 7.0.8-0ubuntu0.16.04.3 |
| ubuntu 16.04-ESM | php7.0 | 7.0.8-0ubuntu0.16.04.3 |
References
- http://openwall.com/lists/oss-security/2016/09/02/9
- http://php.net/ChangeLog-5.php#5.6.25
- http://php.net/ChangeLog-7.php#7.0.10
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.openwall.com/lists/oss-security/2016/09/02/5
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/92756
All 17 references
- http://www.securitytracker.com/id/1036680
- https://access.redhat.com/security/cve/CVE-2016-7124
- https://bugs.php.net/bug.php?id=72663
- https://github.com/php/php-src/commit/20ce2fe8e3c211a42fee05a461a5881be9a8790e?w=1
- https://nvd.nist.gov/vuln/detail/CVE-2016-7124
- https://security.gentoo.org/glsa/201611-22
- https://ubuntu.com/security/notices/USN-3095-1
- https://www.cve.org/CVERecord?id=CVE-2016-7124
- https://www.tenable.com/security/tns-2016-19