Amazon Linux AMI : php73 (ALAS-2020-1368)

high Nessus Plugin ID 136629

Synopsis

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

Description

The version of php73 installed on the remote host is prior to 7.3.17-1.25. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2020-1368 advisory.

In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.34, while parsing EXIF data with exif_read_data() function, it is possible for malicious data to cause PHP to read one byte of uninitialized memory. This could potentially lead to information disclosure or crash. (CVE-2020-7064)

In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.34, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution. (CVE-2020-7065)

In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it.
This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server. (CVE-2020-7066)

In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes. (CVE-2020-7067)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update php73' to update your system.

See Also

https://access.redhat.com/security/cve/CVE-2020-7066

https://access.redhat.com/security/cve/CVE-2020-7067

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

https://access.redhat.com/security/cve/CVE-2020-7064

https://access.redhat.com/security/cve/CVE-2020-7065

Plugin Details

Severity: High

ID: 136629

File Name: ala_ALAS-2020-1368.nasl

Version: 1.5

Type: local

Agent: unix

Published: 5/15/2020

Updated: 12/11/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: Medium

Base Score: 6.8

Temporal Score: 5.3

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

CVSS Score Source: CVE-2020-7065

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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: 5/14/2020

Vulnerability Publication Date: 4/1/2020

Reference Information

CVE: CVE-2020-7064, CVE-2020-7065, CVE-2020-7066, CVE-2020-7067

ALAS: 2020-1368