Amazon Linux AMI : php70 / php56 (ALAS-2018-988)

high Nessus Plugin ID 108849
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 6.7

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

Stack-based buffer under-read in ext/standard/http_fopen_wrapper.c:php_stream_url_wrap_http_ex function when parsing HTTP response allows denial of service

In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c. This subsequently results in copying a large string. (CVE-2018-7584)

Solution

Run 'yum update php70' to update your system.

Run 'yum update php56' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2018-988.html

Plugin Details

Severity: High

ID: 108849

File Name: ala_ALAS-2018-988.nasl

Version: 1.6

Type: local

Agent: unix

Published: 4/6/2018

Updated: 4/5/2019

Dependencies: ssh_get_info.nasl

Risk Information

Risk Factor: High

VPR Score: 6.7

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.9

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: cpe:2.3:o:amazon:linux:*:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-bcmath:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-cli:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-common:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-dba:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-dbg:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-embedded:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-enchant:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-fpm:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-gd:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-gmp:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-imap:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-intl:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-ldap:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-mbstring:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-mcrypt:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-mssql:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-mysqlnd:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-odbc:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-opcache:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-pdo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-pgsql:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-process:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-pspell:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-recode:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-snmp:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-soap:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-tidy:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-xml:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php56-xmlrpc:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-bcmath:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-cli:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-common:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-dba:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-dbg:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-embedded:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-enchant:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-fpm:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-gd:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-gmp:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-imap:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-intl:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-json:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-ldap:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-mbstring:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-mcrypt:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-mysqlnd:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-odbc:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-opcache:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-pdo:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-pdo-dblib:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-pgsql:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-process:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-pspell:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-recode:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-snmp:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-soap:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-tidy:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-xml:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-xmlrpc:*:*:*:*:*:*:*, p-cpe:2.3:a:amazon:linux:php70-zip:*:*:*:*:*:*:*

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/5/2018

Reference Information

CVE: CVE-2018-7584

ALAS: 2018-988