PHP 5.6.x < 5.6.1 add_post_var() Code Execution

critical Web App Scanning Plugin ID 98801

Synopsis

PHP 5.6.x < 5.6.1 add_post_var() Code Execution

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 the scanner 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: Critical

ID: 98801

Type: remote

Published: 1/9/2019

Updated: 3/14/2023

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS Score Source: CVE-2014-3622

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

CVSS Score Source: CVE-2014-3622

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/19/2020

Vulnerability Publication Date: 2/19/2020

Reference Information

CVE: CVE-2014-3622

BID: 70259