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."
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | dbus | Fixed | 1.6.8-1 | DEBIAN-CVE-2012-3524 |
| Debian 14 | glib2.0 | Fixed | 2.33.12+really2.32.4-2 | DEBIAN-CVE-2012-3524 |
| Debian 13 | dbus | Fixed | 1.6.8-1 | DEBIAN-CVE-2012-3524 |
| Debian 13 | glib2.0 | Fixed | 2.33.12+really2.32.4-2 | DEBIAN-CVE-2012-3524 |
| Debian 12 | dbus | Fixed | 1.6.8-1 | DEBIAN-CVE-2012-3524 |
| Debian 12 | glib2.0 | Fixed | 2.33.12+really2.32.4-2 | DEBIAN-CVE-2012-3524 |
| Red Hat Enterprise Linux 6 | dbus | Fixed | 1:1.2.24-7.el6_3 | RHSA-2012:1261 |
| Red Hat Enterprise Linux 6 | dbus-devel | Fixed | 1:1.2.24-7.el6_3 | RHSA-2012:1261 |
| Red Hat Enterprise Linux 6 | dbus-doc | Fixed | 1:1.2.24-7.el6_3 | RHSA-2012:1261 |
| Red Hat Enterprise Linux 6 | dbus-libs | Fixed | 1:1.2.24-7.el6_3 | RHSA-2012:1261 |
| Red Hat Enterprise Linux 6 | dbus-x11 | Fixed | 1:1.2.24-7.el6_3 | RHSA-2012:1261 |
| Red Hat Enterprise Linux 5 | dbus | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00009.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00000.html (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00094.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1576-1 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2012-1261.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:083 (vendor-advisory)
References
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00009.html
- http://www.openwall.com/lists/oss-security/2012/09/12/6
- http://www.openwall.com/lists/oss-security/2012/07/26/1
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00000.html
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00094.html
- http://secunia.com/advisories/50544
- https://bugs.freedesktop.org/show_bug.cgi?id=52202
- https://bugzilla.redhat.com/show_bug.cgi?id=847402
- http://www.ubuntu.com/usn/USN-1576-1
- http://secunia.com/advisories/50537
- http://www.openwall.com/lists/oss-security/2012/09/17/2
- http://www.exploit-db.com/exploits/21323
- http://www.securityfocus.com/bid/55517
- http://rhn.redhat.com/errata/RHSA-2012-1261.html
- http://www.openwall.com/lists/oss-security/2012/07/10/4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.