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

high Nessus Plugin ID 141965


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


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

- ** DISPUTED ** It was discovered freeradius up to and including version 3.0.19 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. NOTE: the upstream software maintainer has stated there is simply no way for anyone to gain privileges through this alleged issue. (CVE-2019-10143)

- In FreeRADIUS 3.0 through 3.0.19, on average 1 in every 2048 EAP-pwd handshakes fails because the password element cannot be found within 10 iterations of the hunting and pecking loop. This leaks information that an attacker can use to recover the password of any user. This information leakage is similar to the Dragonblood attack and CVE-2019-9494. (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)

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


Run 'yum update freeradius' to update your system.

See Also

Plugin Details

Severity: High

ID: 141965

File Name: al2_ALAS-2020-1515.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/28/2020

Updated: 10/29/2020

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

Risk Information


Risk Factor: Medium

Score: 6.7


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


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

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