Amazon Linux AMI : php72 (ALAS-2018-1067)

critical Nessus Plugin ID 112094
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

exif_process_IFD_in_MAKERNOTE in ext/exif/exif.c in PHP 7.2.x before 7.2.8 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted JPEG file.(CVE-2018-14851)

exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.(CVE-2018-12882)

An issue was discovered in PHP 7.2.x before 7.2.8. An Integer Overflow leads to a heap-based buffer over-read in exif_thumbnail_extract of exif.c.(CVE-2018-14883)

Solution

Run 'yum update php72' to update your system.

See Also

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

Plugin Details

Severity: Critical

ID: 112094

File Name: ala_ALAS-2018-1067.nasl

Version: 1.2

Type: local

Agent: unix

Published: 8/24/2018

Updated: 8/31/2018

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

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

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

Vulnerability Information

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

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

Patch Publication Date: 8/22/2018

Reference Information

CVE: CVE-2018-12882, CVE-2018-14851, CVE-2018-14883

ALAS: 2018-1067