PHP 5.6.x < 5.6.4 process_nested_data() RCE

High Web Application Scanning Plugin ID 98827


PHP 5.6.x < 5.6.4 process_nested_data() RCE


According to its banner, the version of PHP 5.6.x installed on the remote host is prior to 5.6.4. It is, therefore, affected by a use-after-free error in the 'process_nested_data' function within 'ext/standard/' due to improper handling of duplicate keys within the serialized properties of an object. A remote attacker, using a specially crafted call to the 'unserialize' method, can exploit this flaw to execute arbitrary code on the system.

Note that the scanner has not attempted to exploit this issue but has instead relied only on the application's self-reported version number.


Upgrade to PHP version 5.6.4 or later.

See Also

Plugin Details

Severity: High

ID: 98827

Type: remote

Published: 2019/01/09

Updated: 2020/07/24

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

Base Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Vulnerability Information

CPE: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Exploit Available: false

Patch Publication Date: 2014/12/18

Vulnerability Publication Date: 2014/12/18

Reference Information

CVE: CVE-2014-8142

BID: 71791

CWE: 416

OWASP: 2013-A9, 2017-A9