Vulnerability · Published Aug 23, 2023 · Assigned by redhat
CVE-2023-3899Subscription-manager: inadequate authorization of com.redhat.rhsm1 d-bus interface allows local users to modify configuration
High 7.8
In plain English
A high-severity security flaw in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | dnf-plugin-subscription-manager | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux:9 | libdnf-plugin-subscription-manager | 1.29.33.1-2.el9_2.alma.1 | ALSA-2023:4708 |
| AlmaLinux:8 | python3-cloud-what | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux:9 | python3-cloud-what | 1.29.33.1-2.el9_2.alma.1 | ALSA-2023:4708 |
| AlmaLinux:8 | python3-subscription-manager-rhsm | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux:9 | python3-subscription-manager-rhsm | 1.29.33.1-2.el9_2.alma.1 | ALSA-2023:4708 |
| AlmaLinux:8 | python3-syspurpose | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux:8 | subscription-manager | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux:9 | subscription-manager | 1.29.33.1-2.el9_2.alma.1 | ALSA-2023:4708 |
| AlmaLinux:8 | subscription-manager-migration | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux:8 | subscription-manager-plugin-ostree | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| AlmaLinux:9 | subscription-manager-plugin-ostree | 1.29.33.1-2.el9_2.alma.1 | ALSA-2023:4708 |
| AlmaLinux:8 | subscription-manager-rhsm-certificates | 1.28.36-3.el8_8.alma.1 | ALSA-2023:4706 |
| Rocky Linux:8 | subscription-manager | 0:1.28.36-3.el8_8.rocky.0.1 | RLSA-2023:4706 |
| Rocky Linux:9 | subscription-manager | 0:1.29.33.1-2.el9_2.rocky.0.1 | RLSA-2023:4708 |
Affected products (as reported)
Weakness: CWE-285 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2023:4701 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:4702 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:4703 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:4704 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:4705 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:4706 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:4707 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:4708 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-3899 vdb-entry, x_refsource_REDHAT
- RHBZ#2225407 issue-tracking, x_refsource_REDHAT
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJHKSBBZRDFOBNDU35FUKMYQIQYT6UJQ/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZDIHGNLS3TZVX7X2F735OKI4KXPY4AH6/ x_transferred