Amazon Linux 2 : freeradius (ALAS-2020-1515)

high Nessus Plugin ID 141965

Synopsis

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

Description

The version of freeradius installed on the remote host is prior to 3.0.13-15. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2020-1515 advisory.

It was discovered freeradius does not correctly configure logrotate, allowing a local attacker who already has control of the radiusd user to escalate his privileges to root, by tricking logrotate into writing a radiusd-writable file to a directory normally inaccessible by the radiusd user. (CVE-2019-10143)

An information leak was discovered in the implementation of EAP-pwd in freeradius. An attacker could initiate several EAP-pwd handshakes to leak information, which can then be used to recover the user's WiFi password by performing dictionary and brute-force attacks. (CVE-2019-13456)

In FreeRADIUS 3.0.x before 3.0.20, the EAP-pwd module used a global OpenSSL BN_CTX instance to handle all handshakes. This mean multiple threads use the same BN_CTX instance concurrently, resulting in crashes when concurrent EAP-pwd handshakes are initiated. This can be abused by an adversary as a Denial-of- Service (DoS) attack. (CVE-2019-17185)

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

See Also

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

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

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

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

Plugin Details

Severity: High

ID: 141965

File Name: al2_ALAS-2020-1515.nasl

Version: 1.4

Type: local

Agent: unix

Published: 10/28/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: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.9

Temporal Score: 5.4

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

CVSS Score Source: CVE-2019-10143

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/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: p-cpe:/a:amazon:linux:freeradius-unixodbc, p-cpe:/a:amazon:linux:freeradius-devel, p-cpe:/a:amazon:linux:freeradius-debuginfo, p-cpe:/a:amazon:linux:freeradius-sqlite, p-cpe:/a:amazon:linux:freeradius-krb5, p-cpe:/a:amazon:linux:freeradius-ldap, p-cpe:/a:amazon:linux:freeradius-doc, p-cpe:/a:amazon:linux:freeradius, p-cpe:/a:amazon:linux:freeradius-postgresql, p-cpe:/a:amazon:linux:freeradius-python, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:freeradius-perl, p-cpe:/a:amazon:linux:freeradius-mysql, p-cpe:/a:amazon:linux:freeradius-utils

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: 10/22/2020

Vulnerability Publication Date: 5/24/2019

Reference Information

CVE: CVE-2019-10143, CVE-2019-13456, CVE-2019-17185

ALAS: 2020-1515