PHP < 5.5.37, 5.6.23 Use-After-Free Remote Code Execution.

high Log Correlation Engine Plugin ID 802011
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The specific version of PHP that the server is running is vulnerable to a user-after-free remote code execution.

Description

PHP contains a use-after-free error in the garbage collection algorithm in ext/spl/spl_array.c. This may allow a remote attacker to dereference already freed memory and potentially execute arbitrary code.
Technical Information: This issue was introduced in version 5.3.0.

Note: Programming language vulnerability. This code is used in a wide variety of software and the issue may manifest in a number of different ways.

This issue is reportedly not exploitable in the 7.x branch, though it still appeared as fixed in version 7.0.8's changelog.

Solution

It has been reported that this has been fixed. Please refer to the product listing for upgraded versions that address this vulnerability.

See Also

http://www.php.net/

http://php.net/ChangeLog-7.php#7.0.8

http://php.net/ChangeLog-5.php#5.6.23

http://php.net/ChangeLog-5.php#5.5.37

http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html

http://www.ubuntu.com/usn/usn-3045-1/

http://seclists.org/oss-sec/2016/q2/587

https://bugs.php.net/bug.php?id=72433

http://news.softpedia.com/news/researchers-put-together-php-zero-day-in-order-to-hack-pornhub-506565.shtml

Plugin Details

Severity: High

ID: 802011

Family: Web Servers

Published: 8/23/2016

Updated: 8/23/2016

Risk Information

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

Patch Publication Date: 12/3/2015

Vulnerability Publication Date: 6/21/2016

Reference Information

CVE: CVE-2016-5771