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

critical Nessus Plugin ID 108849

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

ID: 108849

File Name: ala_ALAS-2018-988.nasl

Version: 1.7

Type: local

Agent: unix

Published: 4/6/2018

Updated: 11/20/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

CVSS Score Source: CVE-2018-7584

CVSS v3

Risk Factor: Critical

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

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