We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-1929

Local Root Exploit via Configuration Dictionary



Assignerfedora
Reserved2024-02-27
Published2024-05-08
Updated2024-09-17

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.



HIGH: 7.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Problem types

CWE-20 Improper Input Validation

Product status

Default status
unaffected

5.1.16<=
affected

References

https://www.openwall.com/lists/oss-security/2024/03/04/2

cve.org CVE-2024-1929

nvd.nist.gov CVE-2024-1929

Download JSON

Share this page
https://cve.threatint.com
Subscribe to our newsletter to learn more about our work.