Amazon Linux AMI : php72 (ALAS-2020-1346)

critical Nessus Plugin ID 134119

Synopsis

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

Description

When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to information disclosure or crash. (CVE-2020-7059)

When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause function mbfl_filt_conv_big5_wchar to read past the allocated buffer. This may lead to information disclosure or crash. (CVE-2020-7060)

Solution

Run 'yum update php72' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2020-1346.html

Plugin Details

Severity: Critical

ID: 134119

File Name: ala_ALAS-2020-1346.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2/28/2020

Updated: 3/25/2024

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

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-2020-7060

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

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: 2/27/2020

Vulnerability Publication Date: 2/10/2020

Reference Information

CVE: CVE-2020-7059, CVE-2020-7060

ALAS: 2020-1346