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

Summary

CVECVE-2023-3899
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-08-23 11:15:07 UTC
Updated2026-11-07 12:17:32 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

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

Problem Types: CWE-285 | CWE-863 | CWE-285 Improper Authorization


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNACVSS7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Redhat Subscription-manager All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 7 unaffected 0:1.24.52-2.el7_9 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:1.28.36-3.el8_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:1.28.36-3.el8_8 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.1 Update Services For SAP Solutions unaffected 0:1.25.17.1-2.el8_1 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support unaffected 0:1.26.22-2.el8_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service unaffected 0:1.26.22-2.el8_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.2 Update Services For SAP Solutions unaffected 0:1.26.22-2.el8_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support unaffected 0:1.28.13-7.el8_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service unaffected 0:1.28.13-7.el8_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.4 Update Services For SAP Solutions unaffected 0:1.28.13-7.el8_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support unaffected 0:1.28.29.1-2.el8_6 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:1.29.33.1-2.el9_2 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support unaffected 0:1.29.26.2-2.el9_0 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified

References

ReferenceSourceLinkTags
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
[SECURITY] Fedora 38 Update: subscription-manager-1.29.37-1.fc38 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
[SECURITY] Fedora 37 Update: subscription-manager-1.29.37-1.fc37 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
Red Hat af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Vendor Advisory
2225407 – (CVE-2023-3899) CVE-2023-3899 subscription-manager: inadequate authorization of com.redhat.RHSM1 D-Bus interface allows local users to modify configuration af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: This issue was discovered by Thibault Guittet (Senior Product Security Engineer, Red Hat). (en)

Additional Advisory Data

SourceTimeEvent
CNA2023-07-25T00:00:00.000ZReported to Red Hat.
CNA2023-08-22T14:00:00.000ZMade public.

Workarounds

CNA: A workaround is to mask rhsm.service using: ~~~ systemctl mask rhsm.service ~~~ When the rhsm.service is masked, then no D-Bus call cannot trigger the service and all D-Bus calls will be terminated with error: "Call failed: Could not activate remote peer." But then all applications using D-Bus API will not work until you unmask the service using: "systemctl unmask rhsm.service"

Legacy QID Mappings

  • 241955 Red Hat Update for subscription-manager (RHSA-2023:4702)
  • 241956 Red Hat Update for subscription-manager (RHSA-2023:4704)
  • 241958 Red Hat Update for subscription-manager (RHSA-2023:4703)
  • 241959 Red Hat Update for subscription-manager (RHSA-2023:4705)
  • 241961 Red Hat Update for subscription-manager (RHSA-2023:4701)
  • 241962 Red Hat Update for subscription-manager (RHSA-2023:4708)
  • 241963 Red Hat Update for subscription-manager (RHSA-2023:4706)
  • 241964 Red Hat Update for subscription-manager (RHSA-2023:4707)
  • 257252 Centos Security Update for subscription-manager
  • 378886 Alibaba Cloud Linux Security Update for subscription-manager (ALINUX2-SA-2023:0037)
  • 379090 IBM QRadar SIEM Multiple Security Vulnerabilities (7070736)
  • 673810 EulerOS Security Update for subscription-manager (EulerOS-SA-2024-1302)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report