AlmaLinux 9 : subscription-manager (ALSA-2023:4708)

high Nessus Plugin ID 180078

Synopsis

The remote AlmaLinux host is missing a security update.

Description

The remote AlmaLinux 9 host has packages installed that are affected by a vulnerability as referenced in the ALSA-2023:4708 advisory.

- A vulnerability was found in subscription-manager that allows local privilege escalation due to inadequate authorization. The D-Bus interface com.redhat.RHSM1 exposes a significant number of methods to all users that could change the state of the registration. By using the com.redhat.RHSM1.Config.SetAll() method, a low-privileged local user could tamper with the state of the registration, by unregistering the system or by changing the current entitlements. This flaw allows an attacker to set arbitrary configuration directives for /etc/rhsm/rhsm.conf, which can be abused to cause a local privilege escalation to an unconfined root. (CVE-2023-3899)

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

Solution

Update the affected packages.

See Also

https://errata.almalinux.org/9/ALSA-2023-4708.html

Plugin Details

Severity: High

ID: 180078

File Name: alma_linux_ALSA-2023-4708.nasl

Version: 1.4

Type: local

Published: 8/23/2023

Updated: 11/8/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2023-3899

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:alma:linux:subscription-manager, cpe:/o:alma:linux:9::highavailability, p-cpe:/a:alma:linux:subscription-manager-plugin-ostree, cpe:/o:alma:linux:9::appstream, cpe:/o:alma:linux:9::realtime, cpe:/o:alma:linux:9::resilientstorage, cpe:/o:alma:linux:9, cpe:/o:alma:linux:9::sap_hana, p-cpe:/a:alma:linux:python3-cloud-what, cpe:/o:alma:linux:9::supplementary, p-cpe:/a:alma:linux:libdnf-plugin-subscription-manager, p-cpe:/a:alma:linux:python3-subscription-manager-rhsm, cpe:/o:alma:linux:9::sap, cpe:/o:alma:linux:9::crb, cpe:/o:alma:linux:9::nfv, cpe:/o:alma:linux:9::baseos

Required KB Items: Host/local_checks_enabled, Host/AlmaLinux/release, Host/AlmaLinux/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 8/22/2023

Vulnerability Publication Date: 8/23/2023

Reference Information

CVE: CVE-2023-3899

CWE: 285