Vulnerability in Freedesktop Libdbus
CVE-2012-3524
libdbus 1.5.x and earlier, when used in setuid or other privileged programs in X.org and possibly other products, allows local users to gain privileges and execute arbitrary code via the DBUS_SYSTEM_BUS_ADDRESS environment variable. NOTE: libdbus maintainers state that this is a vulnerability in the applications that do not cleanse environment variables, not in libdbus itself: "we do not support use of libdbus in setuid binaries that do not sanitize their environment before their first call into libdbus."
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.9 (Medium). Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.045, 91.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Freedesktop Libdbus — versions 1.5.0, 1.5.2, 1.5.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 39 other repositories (0xTo/linux-kernel-exploits, Al1ex/LinuxEelvation, albinjoshy03/linux-kernel-exploits, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- SUSE-SU-2012:1155 (vendor-advisory)
- [oss-security] 20120912 libdbus CVE-2012-3524 fix (mailing-list)
- [oss-security] 20120726 Re: libdbus hardening (mailing-list)
- openSUSE-SU-2012:1287 (vendor-advisory)
- openSUSE-SU-2012:1418 (vendor-advisory)
- secunia.com/advisories/50544 (third-party-advisory)
- bugs.freedesktop.org/show_bug.cgi (Patch)
- bugzilla.redhat.com/show_bug.cgi
- USN-1576-1 (vendor-advisory)
- secunia.com/advisories/50537 (third-party-advisory, Vendor Advisory)