Amazon Linux 2 : freeradius (ALAS-2023-1970)

high Nessus Plugin ID 172167

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.26-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-1970 advisory.

- In freeradius, the EAP-PWD function compute_password_element() leaks information about the password which allows an attacker to substantially reduce the size of an offline dictionary attack. (CVE-2022-41859)

- In freeradius, when an EAP-SIM supplicant sends an unknown SIM option, the server will try to look that option up in the internal dictionaries. This lookup will fail, but the SIM code will not check for that failure. Instead, it will dereference a NULL pointer, and cause the server to crash. (CVE-2022-41860)

- A flaw was found in freeradius. A malicious RADIUS client or home server can send a malformed abinary attribute which can cause the server to crash. (CVE-2022-41861)

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-2023-1970.html

https://alas.aws.amazon.com/../../faqs.html

https://alas.aws.amazon.com/cve/html/CVE-2022-41859.html

https://alas.aws.amazon.com/cve/html/CVE-2022-41860.html

https://alas.aws.amazon.com/cve/html/CVE-2022-41861.html

Plugin Details

Severity: High

ID: 172167

File Name: al2_ALAS-2023-1970.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/7/2023

Updated: 3/7/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2022-41859

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/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 Ease: No known exploits are available

Patch Publication Date: 3/2/2023

Vulnerability Publication Date: 12/7/2022

Reference Information

CVE: CVE-2022-41859, CVE-2022-41860, CVE-2022-41861