PHP 5.6.0 'efree()' Function RCE

high Nessus Network Monitor Plugin ID 6666

Synopsis

The remote web server uses an outdated version of PHP and is therefore exposed to a remote code execution vulnerability.

Description

PHP version 5.6.0 contains an issue in the Post Handler due to an illegal use of efree() in function add_post_var(). This can be leveraged to cause arbitrary code execution.

Solution

Apply the vendor's patch, or upgrade to the latest version. This issue is fixed in version 5.6.1.

See Also

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

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

Plugin Details

Severity: High

ID: 6666

Family: Web Servers

Published: 10/21/2014

Updated: 3/6/2019

Nessus ID: 78082

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 8.1

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

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.7

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

Temporal Vector: CVSS:3.0/E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Patch Publication Date: 9/24/2014

Vulnerability Publication Date: 9/24/2014

Reference Information

CVE: CVE-2014-3622

BID: 70259