PHP 7.0.x < 7.0.20 Multiple Vulnerabilities

critical Nessus Plugin ID 100804

Synopsis

The version of PHP running on the remote web server is affected by multiple vulnerabilities.

Description

According to its banner, the version of PHP running on the remote web server is 7.0.x prior to 7.0.20. 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)

Solution

Upgrade to PHP version 7.0.20 or later.

See Also

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

Plugin Details

Severity: Critical

ID: 100804

File Name: php_7_0_20.nasl

Version: 1.4

Type: remote

Family: CGI abuses

Published: 6/15/2017

Updated: 5/31/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Patch Publication Date: 6/8/2017

Vulnerability Publication Date: 6/8/2017

Reference Information

BID: 99003