PHP 5.6.x < 5.6.13 Use-After-Free Vulnerability

critical Nessus Network Monitor Plugin ID 9066

Synopsis

The remote web server uses a version of PHP that is affected by a use-after-free vulnerability.

Description

Versions of PHP 5.6.x prior to 5.6.13 are vulnerable to a use-after-free error in the 'gmp_unserialize()' function in 'ext/gmp/gmp.c.' The issue is triggered as user-supplied input is not properly sanitized. This may allow a remote attacker to dereference already freed memory and potentially execute arbitrary code.

Solution

Upgrade to PHP 5.6.13, or later.

See Also

https://secure.php.net/ChangeLog-5.php#5.6.13

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

http://seclists.org/fulldisclosure/2015/Sep/26

Plugin Details

Severity: Critical

ID: 9066

Family: Web Servers

Published: 1/29/2016

Updated: 3/6/2019

Vulnerability Information

CPE: cpe:/a:php:php

Patch Publication Date: 12/3/2015

Vulnerability Publication Date: 9/5/2015