Vulnerability · Published Aug 23, 2023 · Assigned by redhat

CVE-2023-3899Subscription-manager: inadequate authorization of com.redhat.rhsm1 d-bus interface allows local users to modify configuration

High 7.8

In plain English

A high-severity security flaw in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 84.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8dnf-plugin-subscription-manager1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux:9libdnf-plugin-subscription-manager1.29.33.1-2.el9_2.alma.1ALSA-2023:4708
AlmaLinux:8python3-cloud-what1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux:9python3-cloud-what1.29.33.1-2.el9_2.alma.1ALSA-2023:4708
AlmaLinux:8python3-subscription-manager-rhsm1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux:9python3-subscription-manager-rhsm1.29.33.1-2.el9_2.alma.1ALSA-2023:4708
AlmaLinux:8python3-syspurpose1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux:8subscription-manager1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux:9subscription-manager1.29.33.1-2.el9_2.alma.1ALSA-2023:4708
AlmaLinux:8subscription-manager-migration1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux:8subscription-manager-plugin-ostree1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux:9subscription-manager-plugin-ostree1.29.33.1-2.el9_2.alma.1ALSA-2023:4708
AlmaLinux:8subscription-manager-rhsm-certificates1.28.36-3.el8_8.alma.1ALSA-2023:4706
Rocky Linux:8subscription-manager0:1.28.36-3.el8_8.rocky.0.1RLSA-2023:4706
Rocky Linux:9subscription-manager0:1.29.33.1-2.el9_2.rocky.0.1RLSA-2023:4708

Affected products (as reported)

Weakness: CWE-285 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References