Amazon Linux 2 : sssd (ALAS-2023-1995)

high Nessus Plugin ID 173238

Synopsis

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

Description

The version of sssd installed on the remote host is prior to 1.16.5-10. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2023-1995 advisory.

A vulnerability was found in SSSD, in the libsss_certmap functionality. PKINIT enables a client to authenticate to the KDC using an X.509 certificate and the corresponding private key, rather than a passphrase or keytab. FreeIPA uses mapping rules to map a certificate presented during a PKINIT authentication request to the corresponding principal. The mapping filter is vulnerable to LDAP filter injection. The search result can be influenced by values in the certificate, which may be attacker controlled. In the most extreme case, an attacker could gain control of the admin account, leading to full domain takeover. (CVE-2022-4254)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for this issue 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/AL2/ALAS-2023-1995.html

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

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

Plugin Details

Severity: High

ID: 173238

File Name: al2_ALAS-2023-1995.nasl

Version: 1.2

Type: local

Agent: unix

Published: 3/22/2023

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: High

Base Score: 9

Temporal Score: 7

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

CVSS Score Source: CVE-2022-4254

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

Vulnerability Information

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

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/17/2023

Vulnerability Publication Date: 1/24/2023

Reference Information

CVE: CVE-2022-4254