cve.bz

CVE-2023-3899 Incorrect Authorization

7.8 highEPSS 0.2%Fix available

High (7.8). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-863 Incorrect Authorization
CWE-285 Improper Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 7: fixed in 0:1.24.52-2.el7_9
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:1.28.36-3.el8_8
  • Red Hat Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions: fixed in 0:1.25.17.1-2.el8_1
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:1.26.22-2.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service: fixed in 0:1.26.22-2.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions: fixed in 0:1.26.22-2.el8_2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:1.28.13-7.el8_4
  • Red Hat Red Hat Enterprise Linux 8.4 Telecommunications Update Service: fixed in 0:1.28.13-7.el8_4
  • Red Hat, AlmaLinux, Rocky Linux: fixed package versions per release
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2023:4701
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2023:4702
  • Vendor advisory: https://access.redhat.com/errata/RHSA-2023:4703

Ask an AI about this CVE

Show the promptExplain CVE-2023-3899 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3899?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3899?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3899 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 70:1.24.52-2.el7_9
Red Hat Enterprise Linux 80:1.28.36-3.el8_8
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions0:1.25.17.1-2.el8_1
Red Hat Enterprise Linux 8.2 Advanced Update Support0:1.26.22-2.el8_2
Red Hat Enterprise Linux 8.2 Telecommunications Update Service0:1.26.22-2.el8_2
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions0:1.26.22-2.el8_2
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:1.28.13-7.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:1.28.13-7.el8_4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:1.28.13-7.el8_4
Red Hat Enterprise Linux 8.6 Extended Update Support0:1.28.29.1-2.el8_6
Red Hat Enterprise Linux 90:1.29.33.1-2.el9_2
Red Hat Enterprise Linux 9.0 Extended Update Support0:1.29.26.2-2.el9_0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationrhsm-gtk, python-syspurpose, subscription-manager and 9 more0:1.24.52-2.el7_9RHSA-2023:4701
Red Hatenterprise_linux:7::computenoderhsm-gtk, subscription-manager-gui, subscription-manager-cockpit and 3 more0:1.24.52-2.el7_9RHSA-2023:4701
Red Hatenterprise_linux:8::appstreamrhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more0:1.28.36-3.el8_8RHSA-2023:4706
Red Hatenterprise_linux:8::baseosrhsm-icons, python3-cloud-what, python3-syspurpose and 10 more0:1.28.36-3.el8_8RHSA-2023:4706
Red Hatenterprise_linux:9::baseospython3-cloud-what, subscription-manager, subscription-manager-debuginfo and 6 more0:1.29.33.1-2.el9_2RHSA-2023:4708
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamrhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more0:1.26.22-2.el8_2RHSA-2023:4703
Red Hatrhel_aus:8.2::baseos, rhel_e4s:8.2::baseos, rhel_tus:8.2::baseosrhsm-icons, python3-syspurpose, subscription-manager and 9 more0:1.26.22-2.el8_2RHSA-2023:4703
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamrhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more0:1.28.13-7.el8_4RHSA-2023:4704
Red Hatrhel_aus:8.4::baseos, rhel_e4s:8.4::baseos, rhel_tus:8.4::baseosrhsm-icons, python3-syspurpose, subscription-manager and 9 more0:1.28.13-7.el8_4RHSA-2023:4704
Red Hatrhel_e4s:8.1::appstreamrhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more0:1.25.17.1-2.el8_1RHSA-2023:4702
Red Hatrhel_e4s:8.1::baseospython3-syspurpose, subscription-manager, subscription-manager-cockpit and 9 more0:1.25.17.1-2.el8_1RHSA-2023:4702
Red Hatrhel_eus:8.6::appstreamrhsm-gtk, subscription-manager-debuginfo, subscription-manager-migration and 4 more0:1.28.29.1-2.el8_6RHSA-2023:4705
2 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8python3-cloud-what, python3-syspurpose, subscription-manager and 5 more1.28.36-3.el8_8.alma.1ALSA-2023:4706
AlmaLinux9python3-cloud-what, subscription-manager, python3-subscription-manager-rhsm and 2 more1.29.33.1-2.el9_2.alma.1ALSA-2023:4708
Rocky Linux8subscription-manager0:1.28.36-3.el8_8.rocky.0.1RLSA-2023:4706
Rocky Linux9subscription-manager0:1.29.33.1-2.el9_2.rocky.0.1RLSA-2023:4708
Azure Linux2subscription-managerno fix listedAZL-28099
Azure Linux3subscription-managerno fix listedAZL-37046

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The vulnerable method SetAll() allows the non-root user to Local Privilege Escalation. The vulnerable method is present since subscription-manager-1.26.15-1. Currently, RHEL-8.2. and above contains the vulnerable code.

However, before the SetAll() was introduced, the worst thing that could happen is to unregister the system and cut off system from updates. No privilege escalation is possible in RHEL-7.9, and RHEL-8.1 as those streams ships subscription-manager-1.25.17.1-1 and prior. Making it Moderate issue for those streams.

So, the vulnerability has always been there, the SetAll() method that introduced with later version in subscription-manager turned it to a to Local Privilege Escalation.

Red Hat's mitigation

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"

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7subscription-manager-0:1.24.52-2.el7_9Fixed 2023-08-22RHSA-2023:4701
Red Hat Enterprise Linux 8subscription-manager-0:1.28.36-3.el8_8Fixed 2023-08-22RHSA-2023:4706
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionssubscription-manager-0:1.25.17.1-2.el8_1Fixed 2023-08-22RHSA-2023:4702
Red Hat Enterprise Linux 8.2 Advanced Update Supportsubscription-manager-0:1.26.22-2.el8_2Fixed 2023-08-22RHSA-2023:4703
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicesubscription-manager-0:1.26.22-2.el8_2Fixed 2023-08-22RHSA-2023:4703
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionssubscription-manager-0:1.26.22-2.el8_2Fixed 2023-08-22RHSA-2023:4703
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsubscription-manager-0:1.28.13-7.el8_4Fixed 2023-08-22RHSA-2023:4704
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicesubscription-manager-0:1.28.13-7.el8_4Fixed 2023-08-22RHSA-2023:4704
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionssubscription-manager-0:1.28.13-7.el8_4Fixed 2023-08-22RHSA-2023:4704
Red Hat Enterprise Linux 8.6 Extended Update Supportsubscription-manager-0:1.28.29.1-2.el8_6Fixed 2023-08-22RHSA-2023:4705
Red Hat Enterprise Linux 9subscription-manager-0:1.29.33.1-2.el9_2Fixed 2023-08-22RHSA-2023:4708
Red Hat Enterprise Linux 9.0 Extended Update Supportsubscription-manager-0:1.29.26.2-2.el9_0Fixed 2023-08-22RHSA-2023:4707
Red Hat Enterprise Linux 6subscription-managerNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3899.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-285 (16).

References

Check your stackJSON