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.
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Subscription-manager | Redhat | * | 1.28.39 (excluding) |
Subscription-manager | Redhat | 1.29.0 (including) | 1.29.37 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | subscription-manager-0:1.24.52-2.el7_9 | * |
Red Hat Enterprise Linux 8 | RedHat | subscription-manager-0:1.28.36-3.el8_8 | * |
Red Hat Enterprise Linux 8 | RedHat | subscription-manager-0:1.28.36-3.el8_8 | * |
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | RedHat | subscription-manager-0:1.25.17.1-2.el8_1 | * |
Red Hat Enterprise Linux 8.2 Advanced Update Support | RedHat | subscription-manager-0:1.26.22-2.el8_2 | * |
Red Hat Enterprise Linux 8.2 Telecommunications Update Service | RedHat | subscription-manager-0:1.26.22-2.el8_2 | * |
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | RedHat | subscription-manager-0:1.26.22-2.el8_2 | * |
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | subscription-manager-0:1.28.13-7.el8_4 | * |
Red Hat Enterprise Linux 8.4 Telecommunications Update Service | RedHat | subscription-manager-0:1.28.13-7.el8_4 | * |
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | RedHat | subscription-manager-0:1.28.13-7.el8_4 | * |
Red Hat Enterprise Linux 8.6 Extended Update Support | RedHat | subscription-manager-0:1.28.29.1-2.el8_6 | * |
Red Hat Enterprise Linux 9 | RedHat | subscription-manager-0:1.29.33.1-2.el9_2 | * |
Red Hat Enterprise Linux 9.0 Extended Update Support | RedHat | subscription-manager-0:1.29.26.2-2.el9_0 | * |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.