Amazon Linux AMI : sudo (ALAS-2017-780)

high Nessus Plugin ID 96282

Synopsis

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

Description

It was discovered that the sudo noexec restriction could have been bypassed if application run via sudo executed system() or popen() C library functions with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could use this flaw to execute arbitrary commands with elevated privileges. (CVE-2016-7032)

It was discovered that the sudo noexec restriction could have been bypassed if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary commands with elevated privileges.
(CVE-2016-7076)

Solution

Run 'yum update sudo' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2017-780.html

Plugin Details

Severity: High

ID: 96282

File Name: ala_ALAS-2017-780.nasl

Version: 3.6

Type: local

Agent: unix

Published: 1/5/2017

Updated: 8/31/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

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

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

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

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

Patch Publication Date: 1/4/2017

Reference Information

CVE: CVE-2016-7032, CVE-2016-7076

ALAS: 2017-780