Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-3899

Опубликовано: 22 авг. 2023
Источник: redhat
CVSS3: 7.8
EPSS Низкий

Описание

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:

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"

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6subscription-managerNot affected
Red Hat Enterprise Linux 7subscription-managerFixedRHSA-2023:470122.08.2023
Red Hat Enterprise Linux 8subscription-managerFixedRHSA-2023:470622.08.2023
Red Hat Enterprise Linux 8subscription-managerFixedRHSA-2023:470622.08.2023
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionssubscription-managerFixedRHSA-2023:470222.08.2023
Red Hat Enterprise Linux 8.2 Advanced Update Supportsubscription-managerFixedRHSA-2023:470322.08.2023
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicesubscription-managerFixedRHSA-2023:470322.08.2023
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionssubscription-managerFixedRHSA-2023:470322.08.2023
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportsubscription-managerFixedRHSA-2023:470422.08.2023
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicesubscription-managerFixedRHSA-2023:470422.08.2023

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-285
https://bugzilla.redhat.com/show_bug.cgi?id=2225407subscription-manager: inadequate authorization of com.redhat.RHSM1 D-Bus interface allows local users to modify configuration

EPSS

Процентиль: 8%
0.00034
Низкий

7.8 High

CVSS3

Связанные уязвимости

CVSS3: 7.8
nvd
почти 2 года назад

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.

rocky
почти 2 года назад

Important: subscription-manager security update

rocky
почти 2 года назад

Important: subscription-manager security update

CVSS3: 7.8
github
почти 2 года назад

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.

CVSS3: 7.8
fstec
почти 2 года назад

Уязвимость метода SetAll() системы межпроцессного взаимодействия D-Bus операционных систем Red Hat Enterprise Linux, позволяющая нарушителю повысить свои привилегии

EPSS

Процентиль: 8%
0.00034
Низкий

7.8 High

CVSS3