CentOS 7 : subscription-manager (RHSA-2023:4701)

high Nessus Plugin ID 187262

Synopsis

The remote CentOS Linux host is missing a security update.

Description

The remote CentOS Linux 7 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2023:4701 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://access.redhat.com/errata/RHSA-2023:4701

Plugin Details

Severity: High

ID: 187262

File Name: centos_RHSA-2023-4701.nasl

Version: 1.0

Type: local

Agent: unix

Published: 12/22/2023

Updated: 12/22/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Moderate

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:centos:centos:subscription-manager-plugin-container, p-cpe:/a:centos:centos:subscription-manager-rhsm, cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:subscription-manager-gui, p-cpe:/a:centos:centos:subscription-manager-plugin-ostree, p-cpe:/a:centos:centos:subscription-manager-rhsm-certificates, p-cpe:/a:centos:centos:subscription-manager-initial-setup-addon, p-cpe:/a:centos:centos:rhsm-gtk, p-cpe:/a:centos:centos:subscription-manager, p-cpe:/a:centos:centos:subscription-manager-migration, p-cpe:/a:centos:centos:subscription-manager-cockpit, p-cpe:/a:centos:centos:python-syspurpose

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

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

RHSA: 2023:4701