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

File Name: 6666.prm

Family: Web Servers

Published: 2014/10/21

Modified: 2016/11/23

Dependencies: 8682

Nessus ID: 78082

Risk Information

Risk Factor: High

CVSSv2

Base Score: 9.3

Temporal Score: 8.1

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

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

CVSSv3

Base Score: 8.1

Temporal Score: 7.7

Vector: CVSS3#AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS3#E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Patch Publication Date: 2014/09/24

Vulnerability Publication Date: 2014/09/24

Reference Information

CVE: CVE-2014-3622

BID: 70259