PHP 5.6.x < 5.6.1 'add_post_var' Code Execution

high Nessus Plugin ID 78082

Synopsis

The remote web server uses a version of PHP that is affected by a code execution vulnerability.

Description

According to its banner, the version of PHP 5.6.x installed on the remote host is prior to 5.6.1. It is, therefore, affected by errors related to the function 'add_post_var' within file 'post_handler.c', the input filters, and the 'efree' function. Input filters that free the 'ksep' variable can also cause an improper 'efree' call. These issues can allow arbitrary code execution.

Note that Nessus has not attempted to exploit these issues but has instead relied only on application's self-reported version number.

Solution

Upgrade to PHP version 5.6.1 or later.

See Also

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

Plugin Details

Severity: High

ID: 78082

File Name: php_5_6_1.nasl

Version: 1.7

Type: remote

Family: CGI abuses

Published: 10/7/2014

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Exploit Ease: No known exploits are available

Patch Publication Date: 10/2/2014

Vulnerability Publication Date: 9/24/2014

Reference Information

CVE: CVE-2014-3622

BID: 70259