Описание
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 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.
Меры по смягчению последствий
A workaround is to mask rhsm.service using:
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"
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Enterprise Linux 6 | subscription-manager | Not affected | ||
Red Hat Enterprise Linux 7 | subscription-manager | Fixed | RHSA-2023:4701 | 22.08.2023 |
Red Hat Enterprise Linux 8 | subscription-manager | Fixed | RHSA-2023:4706 | 22.08.2023 |
Red Hat Enterprise Linux 8 | subscription-manager | Fixed | RHSA-2023:4706 | 22.08.2023 |
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | subscription-manager | Fixed | RHSA-2023:4702 | 22.08.2023 |
Red Hat Enterprise Linux 8.2 Advanced Update Support | subscription-manager | Fixed | RHSA-2023:4703 | 22.08.2023 |
Red Hat Enterprise Linux 8.2 Telecommunications Update Service | subscription-manager | Fixed | RHSA-2023:4703 | 22.08.2023 |
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | subscription-manager | Fixed | RHSA-2023:4703 | 22.08.2023 |
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | subscription-manager | Fixed | RHSA-2023:4704 | 22.08.2023 |
Red Hat Enterprise Linux 8.4 Telecommunications Update Service | subscription-manager | Fixed | RHSA-2023:4704 | 22.08.2023 |
Показывать по
Дополнительная информация
Статус:
EPSS
7.8 High
CVSS3
Связанные уязвимости
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.
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.
Уязвимость метода SetAll() системы межпроцессного взаимодействия D-Bus операционных систем Red Hat Enterprise Linux, позволяющая нарушителю повысить свои привилегии
EPSS
7.8 High
CVSS3