CVE-2023-3899
Subscription-manager: inadequate authorization of com.redhat.rhsm1 d-bus interface allows local users to modify configuration
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.
Fixes and workarounds
Workaround
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"
Source: CNA: redhatAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| Red Hat Enterprise Linux 7 Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.24.52-2.el7_9; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.28.36-3.el8_8; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.25.17.1-2.el8_1; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.2 Advanced Update Support Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.26.22-2.el8_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.26.22-2.el8_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.26.22-2.el8_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.28.13-7.el8_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.28.13-7.el8_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.28.13-7.el8_4; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8.6 Extended Update Support Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.28.29.1-2.el8_6; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.29.33.1-2.el9_2; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9.0 Extended Update Support Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:1.29.26.2-2.el9_0; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 6 Red Hat subscription-manager
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.8 high |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA: redhat |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2023:4701CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4702CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4703CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4704CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4705CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4706CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4707CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4708CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-3899CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2225407CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2023:4701ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:4702ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:4703ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:4704ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:4705ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:4706ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:4707ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/errata/RHSA-2023:4708ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/security/cve/CVE-2023-3899ADP: CVE · vdb-entry, x_refsource_REDHAT, x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2225407ADP: CVE · issue-tracking, x_refsource_REDHAT, x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/FJHKSBBZRDFOBNDU35FUKMYQIQYT6UJQ/ADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZDIHGNLS3TZVX7X2F735OKI4KXPY4AH6/ADP: CVE · x_transferred
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.