Amazon Linux AMI : lynis (ALAS-2020-1419)

medium Nessus Plugin ID 140091

Synopsis

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

Description

The version of lynis installed on the remote host is prior to 3.0.0-1.17. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2020-1419 advisory.

In CISOfy Lynis 2.x through 2.7.5, the license key can be obtained by looking at the process list when a data upload is being performed. This license can be used to upload data to a central Lynis server.
Although no data can be extracted by knowing the license key, it may be possible to upload the data of additional scans. (CVE-2019-13033)For additional information:https://nvd.nist.gov/vuln/detail/cve-2019-13033

CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The routine to check the log and report file permissions was not working as intended and could be bypassed locally.
Because of the race, an unprivileged attacker can set up a log and report file, and control that up to the point where the specific routine is doing its check. After that, the file can be removed, recreated, and used for additional attacks. (CVE-2020-13882)For additional information:https://nvd.nist.gov/vuln/detail/cve-2020-13882

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 lynis' to update your system.

See Also

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

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

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

Plugin Details

Severity: Medium

ID: 140091

File Name: ala_ALAS-2020-1419.nasl

Version: 1.2

Type: local

Agent: unix

Published: 8/31/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: Low

Score: 3.4

CVSS v2

Risk Factor: Low

Base Score: 3.7

Temporal Score: 2.7

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

CVSS Score Source: CVE-2020-13882

CVSS v3

Risk Factor: Medium

Base Score: 4.2

Temporal Score: 3.7

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

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

Vulnerability Information

CPE: cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:lynis

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/26/2020

Vulnerability Publication Date: 6/18/2020

Reference Information

CVE: CVE-2019-13033, CVE-2020-13882

ALAS: 2020-1419