PHP 7.1.x < 7.1.6 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 98863

Synopsis

PHP 7.1.x < 7.1.6 Multiple Vulnerabilities

Description

According to its banner, the version of PHP running on the remote web server is 7.1.x prior to 7.1.6. It is, therefore, affected by the following vulnerabilities :

- A flaw exists in _zend_hash_add_or_update_i within file main/php_ini.c when handling a malformed php.ini file. An attacker can exploit this to cause a segmentation fault, resulting in a denial of service condition or possibly the execution of arbitrary code. (bug #74600)

- An illegal instruction error exists in the function ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER() when processing specially crafted input. An attacker can exploit this to cause a denial of service condition or possibly the execution of arbitrary code. (bug #74546)

- A flaw exists that is related to processing of directory paths that contain Unicode characters. An attacker can exploit this to cause an incorrect value in the '__DIR__' variable, possibly resulting in a denial of service condition or the execution of arbitrary code. (bug #74589)

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to PHP version 7.1.6 or later.

See Also

http://php.net/ChangeLog-7.php#7.1.6

Plugin Details

Severity: Critical

ID: 98863

Type: remote

Published: 1/9/2019

Updated: 3/14/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

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

CVSS Score Source: Tenable

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: Tenable

Vulnerability Information

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

Exploit Ease: No known exploits are available

Patch Publication Date: 6/7/2017

Vulnerability Publication Date: 6/7/2017

Reference Information