SecurityContext

CVE-2024-1929: dnf5daemon-server - Privilege Escalation

  • Cve: CVE-2024-1929
  • Name: dnf5daemon-server - Privilege Escalation
  • 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.
  • Impact: Attackers can influence configuration and load malicious shared libraries, leading to privilege escalation to root.
  • Remediation: Update to version 5.1.17 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.4
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
  • Epss score: 0.00286
  • Epss percentile: 0.21441
  • Assignee: [email protected]
  • Published at: 2024-05-08T02:15:09Z
  • Age in days: 930
  • Modified at: 2026-06-17T07:05:26Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-1929
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation
NVD-CWE-noinfo—

Public exploits

UrlSourceAdded date
https://www.openwall.com/lists/oss-security/2024/03/04/2nvd2024-05-08

References

UrlSourceTags
https://www.openwall.com/lists/oss-security/2024/03/04/2nvdExploit, Mailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
rpm:dnf5< 5.1.17nonvd/v1/products/rpm/dnf5

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-05-08
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts