Amazon Linux 2 : dhcp (ALAS-2018-1021)

high Nessus Plugin ID 110194

Synopsis

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

Description

Command injection vulnerability in the DHCP client NetworkManager integration script :

A command injection flaw was found in the NetworkManager integration script included in the DHCP client packages in Amazon Linux 2. A malicious DHCP server, or an attacker on the local network able to spoof DHCP responses, could use this flaw to execute arbitrary commands with root privileges on systems using NetworkManager and configured to obtain network configuration using the DHCP protocol.
(CVE-2018-1111)

Note: Amazon Linux 2 does not use NetworkManager by default, however it is recommended to install this update.

Solution

Run 'yum update dhcp' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2018-1021.html

Plugin Details

Severity: High

ID: 110194

File Name: al2_ALAS-2018-1021.nasl

Version: 1.9

Type: local

Agent: unix

Published: 5/30/2018

Updated: 9/30/2024

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.9

Temporal Score: 6.5

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

CVSS Score Source: CVE-2018-1111

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 7

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:dhcp-common, p-cpe:/a:amazon:linux:dhclient, p-cpe:/a:amazon:linux:dhcp, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:dhcp-libs, p-cpe:/a:amazon:linux:dhcp-devel, p-cpe:/a:amazon:linux:dhcp-debuginfo

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/24/2018

Exploitable With

Metasploit (DHCP Client Command Injection (DynoRoot))

Reference Information

CVE: CVE-2018-1111

ALAS: 2018-1021

IAVA: 2018-A-0162