Subscription-manager: inadequate authorization of com.redhat.rhsm1 d-bus interface allows local users to modify configuration
Summary
| CVE | CVE-2023-3899 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-08-23 11:15:07 UTC |
| Updated | 2026-11-07 12:17:32 UTC |
| 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. |
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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Redhat | Subscription-manager | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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
| Source | Time | Event |
|---|---|---|
| CNA | 2023-07-25T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-08-22T14:00:00.000Z | Made 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)