Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-3524 EUVD-2012-3479GHSA-qw63-7rfw-9cx5

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 gai…

Published Sep 18, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

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."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dbus 1.6.8-1 —
Debian 14 glib2.0 2.33.12+really2.32.4-2 —
Debian 13 dbus 1.6.8-1 —
Debian 13 glib2.0 2.33.12+really2.32.4-2 —
Debian 12 dbus 1.6.8-1 —
Debian 12 glib2.0 2.33.12+really2.32.4-2 —
ReleasePackageFixed inAdvisory
RHEL 6 dbus +4 1:1.2.24-7.el6_3 RHSA-2012:1261
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dbus-1 1.10.12-2.1 openSUSE-SU-2024:10517-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References