Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-0231 EUVD-2015-0253GHSA-5394-7mcx-63pv

Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.37, 5.5.x before 5.5…

Published Jan 27, 2015 · Updated Aug 6, 2024 · Assigned by redhat

Description

Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate numerical keys within the serialized properties of an object. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-8142.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 php5 5.4.38-0+deb7u1 DSA-3195-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.6 USN-2501-1
ReleasePackageFixed inAdvisory
RHEL 7 php +24 5.4.16-36.ael7b_1 RHSA-2015:1135
RHEL 2 php54 +5 2.0-1.el6 RHSA-2015:1066, RHSA-2015:1053
RHEL 2 php54-php +24 5.4.40-1.el6 RHSA-2015:1066
RHEL 2 php54-php-pecl-zendopcache 7.0.4-3.el6 RHSA-2015:1066
RHEL 2 php55-php +26 5.5.21-2.el6 RHSA-2015:1053
ReleasePackageFixed inAdvisory
SLES 12 php5 5.5.14-11.3 SUSE-SU-2015:0365-1
SLES 11 SP2 php53 5.3.17-47.1 SUSE-SU-2016:1638-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php5 5.6.28-1.1 openSUSE-SU-2024:10344-1
openSUSE Tumbleweed php7 7.0.14-1.4 openSUSE-SU-2024:10290-1
openSUSE Tumbleweed php8 8.0.11-1.1 openSUSE-SU-2024:11169-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 php +24 5.4.16-36.el7_1 ELSA-2015-1135
Oracle Linux 7 php54 +5 2.0-1.el7 ELSA-2015-1066, ELSA-2015-1053
Oracle Linux 7 php54-php +22 5.4.40-1.el7 ELSA-2015-1066
Oracle Linux 7 php54-php-imap +1 5.4.40-1.el6 ELSA-2015-1066
Oracle Linux 7 php54-php-pecl-zendopcache 7.0.4-3.el7 ELSA-2015-1066
Oracle Linux 7 php55-php +26 5.5.21-2.0.1.el6 ELSA-2015-1053

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 14

References