Amazon Linux AMI : sudo (ALAS-2020-1356)

high Nessus Plugin ID 134682

Synopsis

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

Description

The version of sudo installed on the remote host is prior to 1.8.6p3-29.30. It is, therefore, affected by a vulnerability as referenced in the ALAS-2020-1356 advisory.

In Sudo before 1.8.26, if pwfeedback is enabled in /etc/sudoers, users can trigger a stack-based buffer overflow in the privileged sudo process. (pwfeedback is a default setting in Linux Mint and elementary OS;
however, it is NOT the default for upstream and many other packages, and would exist only if enabled by an administrator.) The attacker needs to deliver a long string to the stdin of getln() in tgetpass.c.
(CVE-2019-18634)

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

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

Solution

Run 'yum update sudo' to update your system.

See Also

https://access.redhat.com/security/cve/CVE-2019-18634

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

Plugin Details

Severity: High

ID: 134682

File Name: ala_ALAS-2020-1356.nasl

Version: 1.4

Type: local

Agent: unix

Published: 3/19/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: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2019-18634

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:sudo-debuginfo, p-cpe:/a:amazon:linux:sudo-devel, p-cpe:/a:amazon:linux:sudo

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: 3/18/2020

Vulnerability Publication Date: 1/29/2020

Reference Information

CVE: CVE-2019-18634

ALAS: 2020-1356