CVE-2024-1929

Local Root Exploit via Configuration Dictionary

Published May 8, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Local Root Exploit via Configuration Dictionary in dnf5daemon-server before 5.1.17 allows a malicious user to impact Confidentiality and Integrity via Configuration Dictionary.

There are issues with the D-Bus interface long before Polkit is invoked. The `org.rpm.dnf.v0.SessionManager.open_session` method takes a key/value map of configuration entries. A sub-entry in this map, placed under the "config" key, is another key/value map. The configuration values found in it will be forwarded as configuration overrides to the `libdnf5::Base` configuration. 

Practically all libdnf5 configuration aspects can be influenced here. Already when opening the session via D-Bus, the libdnf5 will be initialized using these override configuration values. There is no sanity checking of the content of this "config" map, which is untrusted data. It is possible to make the library loading a plug-in shared library under control of an unprivileged user, hence achieving root access. 

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-17651 Local Root Exploit via Configuration Dictionary in dnf5daemon-server before 5.1.17 allows a malicious user to impact Confidentiality and Integrity via Configuration Dictionary. There are issues with the D-Bus interface long before Polkit is invoked. The `org.rpm.dnf.v0.SessionManager.open_session` method takes a key/value map of configuration entries. A sub-entry in this map, placed under the "config" key, is another key/value map. The configuration values found in it will be forwarded as configuration overrides to the `libdnf5::Base` configuration.  Practically all libdnf5 configuration aspects can be influenced here. Already when opening the session via D-Bus, the libdnf5 will be initialized using these override configuration values. There is no sanity checking of the content of this "config" map, which is untrusted data. It is possible to make the library loading a plug-in shared library under control of an unprivileged user, hence achieving root access. 
History
Type Values Removed Values Added
First Time appeared Rpm
Rpm dnf5
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:rpm:dnf5:*:*:*:*:*:*:*:*
Vendors & Products Rpm
Rpm dnf5
Type Values Removed Values Added
First Time appeared Fedora
Fedora dnf5daemon-server
CPEs cpe:2.3:a:fedora:dnf5daemon-server:*:*:*:*:*:*:*:*
Vendors & Products Fedora
Fedora dnf5daemon-server
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Sep 17, 2024, 9:32 PM
Reserved
Feb 27, 2024, 12:44 PM
Status
Analyzed
Published
May 8, 2024, 2:15 AM
Modified
Jun 17, 2026, 7:05 AM