CVE-2024-1929 Local Root Exploit via Configuration Dictionary
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| fedora dnf5daemon-server | <= 5.1.16; = 5.1.16<=; >= pkg:github/rpm-software-management/dnf5@0, < pkg:github/rpm-software-management/dnf5@5.1.16 | pkg:github/rpm-software-management/dnf5@5.1.16 | Fixed |
| rpm dnf5 | < 5.1.17 | 5.1.17 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fedora dnf5daemon-server | = 5.1.16<= | No fix listed |
| fedora dnf5daemon-server | <= 5.1.16 | No fix listed |
| fedora dnf5daemon-server | >= pkg:github/rpm-software-management/dnf5@0, < pkg:github/rpm-software-management/dnf5@5.1.16 | pkg:github/rpm-software-management/dnf5@5.1.16 |
| rpm dnf5 | < 5.1.17 | 5.1.17 |
References
- www.openwall.com exploit mailing-list third-party-advisory