Ubuntu 18.04 LTS / 20.04 LTS : SSSD vulnerabilities (USN-5067-1)

high Nessus Plugin ID 153144

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-5067-1 advisory.

Jakub Hrozek discovered that SSSD incorrectly handled file permissions. A local attacker could possibly use this issue to read the sudo rules available for any user. This issue only affected Ubuntu 18.04 LTS.
(CVE-2018-10852)

It was discovered that SSSD incorrectly handled Group Policy Objects. When SSSD is configured with too strict permissions causing the GPO to not be readable, SSSD will allow all authenticated users to login instead of being denied, contrary to expectations. This issue only affected Ubuntu 18.04 LTS.
(CVE-2018-16838)

It was discovered that SSSD incorrectly handled users with no home directory set. When no home directory was set, SSSD would return the root directory instead of an empty string, possibly bypassing security measures. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-3811)

Cedric Buissart discovered that SSSD incorrectly handled the sssctl command. In certain environments, a local user could use this issue to execute arbitrary commands and possibly escalate privileges.
(CVE-2021-3621)

Tenable has extracted the preceding description block directly from the Ubuntu 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

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-5067-1

Plugin Details

Severity: High

ID: 153144

File Name: ubuntu_USN-5067-1.nasl

Version: 1.9

Type: local

Agent: unix

Published: 9/8/2021

Updated: 8/27/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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.7

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

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libsss-nss-idmap0, p-cpe:/a:canonical:ubuntu_linux:sssd-proxy, p-cpe:/a:canonical:ubuntu_linux:libsss-simpleifp0, p-cpe:/a:canonical:ubuntu_linux:libipa-hbac0, p-cpe:/a:canonical:ubuntu_linux:sssd-ad-common, p-cpe:/a:canonical:ubuntu_linux:libsss-certmap0, p-cpe:/a:canonical:ubuntu_linux:libsss-sudo, p-cpe:/a:canonical:ubuntu_linux:libwbclient-sssd, p-cpe:/a:canonical:ubuntu_linux:python3-libsss-nss-idmap, p-cpe:/a:canonical:ubuntu_linux:libipa-hbac-dev, p-cpe:/a:canonical:ubuntu_linux:sssd-ad, p-cpe:/a:canonical:ubuntu_linux:libsss-certmap-dev, p-cpe:/a:canonical:ubuntu_linux:sssd-dbus, p-cpe:/a:canonical:ubuntu_linux:sssd-ipa, p-cpe:/a:canonical:ubuntu_linux:sssd-kcm, p-cpe:/a:canonical:ubuntu_linux:python-sss, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:libwbclient-sssd-dev, p-cpe:/a:canonical:ubuntu_linux:sssd-common, p-cpe:/a:canonical:ubuntu_linux:python3-sss, p-cpe:/a:canonical:ubuntu_linux:libsss-idmap0, p-cpe:/a:canonical:ubuntu_linux:libsss-idmap-dev, p-cpe:/a:canonical:ubuntu_linux:libsss-simpleifp-dev, p-cpe:/a:canonical:ubuntu_linux:python3-libipa-hbac, p-cpe:/a:canonical:ubuntu_linux:libsss-nss-idmap-dev, p-cpe:/a:canonical:ubuntu_linux:sssd-tools, p-cpe:/a:canonical:ubuntu_linux:sssd, p-cpe:/a:canonical:ubuntu_linux:sssd-krb5-common, p-cpe:/a:canonical:ubuntu_linux:libnss-sss, p-cpe:/a:canonical:ubuntu_linux:sssd-ldap, p-cpe:/a:canonical:ubuntu_linux:python-libipa-hbac, p-cpe:/a:canonical:ubuntu_linux:sssd-krb5, p-cpe:/a:canonical:ubuntu_linux:libpam-sss, p-cpe:/a:canonical:ubuntu_linux:python-libsss-nss-idmap

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 9/8/2021

Vulnerability Publication Date: 6/26/2018

Reference Information

CVE: CVE-2018-10852, CVE-2018-16838, CVE-2019-3811, CVE-2021-3621

USN: 5067-1