PHP 7.1.x < 7.1.30 Multiple Vulnerabilities.

critical Nessus Plugin ID 125640

Synopsis

An application installed on the remote host is affected by 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.30.
It is, therefore, affected by the following vulnerabilities:

- An uninitialized vulnerability exists in gdImageCreateFromXbm due to sscanf method not being able to read a hex value. An attacker may be able exploit this issue, to cause the disclose of sensitive information. (CVE-2019-11038)

- An out of bounds read vulnerability exists in iconv.c:_php_iconv_mime_decode() due to integer overflow.
An attacker may be able exploit this issue, to cause the disclose of sensitive information. (CVE-2019-11039)

- A heap-based buffer overflow condition exists on php_jpg_get16. An attacker can exploit this, to cause a denial of service condition or the execution of arbitrary code. (CVE-2019-11040)

Solution

Upgrade to PHP version 7.1.30 or later.

See Also

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

Plugin Details

Severity: Critical

ID: 125640

File Name: php_7_1_30.nasl

Version: 1.7

Type: remote

Family: CGI abuses

Published: 5/31/2019

Updated: 5/31/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2019-11040

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/30/2019

Vulnerability Publication Date: 5/30/2019

Reference Information

CVE: CVE-2019-11038, CVE-2019-11039, CVE-2019-11040

BID: 108514, 108520, 108525