Amazon Linux AMI : php73 (ALAS-2021-1532)

medium Nessus Plugin ID 153169

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.29-1.30. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2021-1532 advisory.

Several flaws has been found in php. The pdo_firebase module does not check the length of the server version string in a response packet causing a stack buffer overflow, does not verify the data and uses the wrong type to cast length leading to a crash, and does not validate the response before calculation of the exec procedure leading to a crash. The highest threat from this vulnerability is to system availability.
(CVE-2021-21704)

A security issue was found in PHP in the way it allows to bypass the FILTER_VALIDATE_URL check via a crafted URL which may lead to SSRF. (CVE-2021-21705)

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://alas.aws.amazon.com/ALAS-2021-1532.html

https://access.redhat.com/security/cve/CVE-2021-21704

https://access.redhat.com/security/cve/CVE-2021-21705

Plugin Details

Severity: Medium

ID: 153169

File Name: ala_ALAS-2021-1532.nasl

Version: 1.6

Type: local

Agent: unix

Published: 9/9/2021

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

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2021-21705

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: 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, 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

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: 9/2/2021

Vulnerability Publication Date: 7/22/2021

Reference Information

CVE: CVE-2021-21704, CVE-2021-21705

ALAS: 2021-1532