CVE-2015-2787

PHP < 5.4.39 - Use-After-Free via Unserialize with __wakeup Function

Title source: llm
STIX 2.1

Description

Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages use of the unset function within an __wakeup function, a related issue to CVE-2015-0231.

References (21)

Core 21
Core References
Various Sources x_refsource_confirm
https://gist.github.com/smalyshev/eea9eafc7c88a4a6d10d
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1032485
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/73431
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=144050155601375&w=2
Vendor Advisory vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
Mailing List vendor-advisory x_refsource_hp
http://marc.info/?l=bugtraq&m=143748090628601&w=2
Various Sources x_refsource_confirm
http://php.net/ChangeLog-5.php
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT205267
Vendor Advisory vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2572-1
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2015-1135.html
Vendor Advisory x_refsource_confirm
https://support.apple.com/kb/HT205031
Exploit x_refsource_confirm
https://bugs.php.net/bug.php?id=68976
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2015-1053.html
Mailing List vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201606-10
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2015-1066.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2015-1218.html

Scores

EPSS 0.2640
EPSS Percentile 96.4%

Details

Status published
Products (33)
apple/mac_os_x 10.9.5
apple/mac_os_x 10.10.0
apple/mac_os_x 10.10.1
apple/mac_os_x 10.10.2
apple/mac_os_x 10.10.3
apple/mac_os_x 10.10.4
apple/mac_os_x < 10.6.8
opensuse/opensuse 13.1
opensuse/opensuse 13.2
php/php 5.5.0 (13 CPE variants)
... and 23 more
Published Mar 30, 2015
Tracked Since Feb 18, 2026