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

High Log Correlation Engine Plugin ID 802011

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/

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

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://news.softpedia.com/news/researchers-put-together-php-zero-day-in-order-to-hack-pornhub-506565.shtml

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

Plugin Details

Severity: High

ID: 802011

File Name: 802011.prm

Family: Web Servers

Published: 2016/08/23

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 8.3

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: 2015/12/03

Vulnerability Publication Date: 2016/06/21

Reference Information

CVE: CVE-2016-5771