Amazon Linux AMI : sssd (ALAS-2023-1723)

high Nessus Plugin ID 173941

Synopsis

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

Description

The version of sssd installed on the remote host is prior to 1.16.4-21.27. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2023-1723 advisory.

- A flaw was found in SSSD, where the sssctl command was vulnerable to shell command injection via the logs- fetch and cache-expire subcommands. This flaw allows an attacker to trick the root user into running a specially crafted sssctl command, such as via sudo, to gain root access. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. (CVE-2021-3621)

- sssd: libsss_certmap fails to sanitise certificate data used in LDAP filters (CVE-2022-4254)

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

See Also

https://alas.aws.amazon.com/ALAS-2023-1723.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3621.html

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

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

Plugin Details

Severity: High

ID: 173941

File Name: ala_ALAS-2023-1723.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/6/2023

Updated: 4/19/2023

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

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

CVSS Score Source: CVE-2021-3621

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS Score Source: CVE-2022-4254

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libipa_hbac, p-cpe:/a:amazon:linux:libipa_hbac-devel, p-cpe:/a:amazon:linux:libsss_autofs, p-cpe:/a:amazon:linux:libsss_certmap, p-cpe:/a:amazon:linux:libsss_certmap-devel, p-cpe:/a:amazon:linux:libsss_idmap, p-cpe:/a:amazon:linux:libsss_idmap-devel, p-cpe:/a:amazon:linux:libsss_nss_idmap, p-cpe:/a:amazon:linux:libsss_nss_idmap-devel, p-cpe:/a:amazon:linux:libsss_simpleifp, p-cpe:/a:amazon:linux:libsss_simpleifp-devel, p-cpe:/a:amazon:linux:libsss_sudo, p-cpe:/a:amazon:linux:python27-libipa_hbac, p-cpe:/a:amazon:linux:python27-libsss_nss_idmap, p-cpe:/a:amazon:linux:python27-sss, p-cpe:/a:amazon:linux:python27-sss-murmur, p-cpe:/a:amazon:linux:python27-sssdconfig, p-cpe:/a:amazon:linux:sssd, p-cpe:/a:amazon:linux:sssd-ad, p-cpe:/a:amazon:linux:sssd-client, p-cpe:/a:amazon:linux:sssd-common, p-cpe:/a:amazon:linux:sssd-common-pac, p-cpe:/a:amazon:linux:sssd-dbus, p-cpe:/a:amazon:linux:sssd-debuginfo, p-cpe:/a:amazon:linux:sssd-ipa, p-cpe:/a:amazon:linux:sssd-krb5, p-cpe:/a:amazon:linux:sssd-krb5-common, p-cpe:/a:amazon:linux:sssd-ldap, p-cpe:/a:amazon:linux:sssd-libwbclient, p-cpe:/a:amazon:linux:sssd-libwbclient-devel, p-cpe:/a:amazon:linux:sssd-proxy, p-cpe:/a:amazon:linux:sssd-tools, p-cpe:/a:amazon:linux:sssd-winbind-idmap, cpe:/o:amazon:linux

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: 3/30/2023

Vulnerability Publication Date: 8/16/2021

Reference Information

CVE: CVE-2021-3621, CVE-2022-4254