CVE-2012-3524
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."
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
libdbus - 'DBUS_SYSTEM_BUS_ADDRESS' Local Privilege Escalation
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.6.8-1 |
| sid | Fixed | 1.6.8-1 |
| forky | Fixed | 1.6.8-1 |
| bullseye | Fixed | 1.6.8-1 |
| bookworm | Fixed | 1.6.8-1 |
References
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00009.html
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00015.html
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00000.html
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00094.html
- http://rhn.redhat.com/errata/RHSA-2012-1261.html
- http://secunia.com/advisories/50537
- http://secunia.com/advisories/50544
- http://secunia.com/advisories/50710
- http://stealth.openwall.net/null/dzug.c
- http://www.exploit-db.com/exploits/21323
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:070
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:083
- http://www.openwall.com/lists/oss-security/2012/07/10/4
- http://www.openwall.com/lists/oss-security/2012/07/26/1
- http://www.openwall.com/lists/oss-security/2012/09/12/6
- http://www.openwall.com/lists/oss-security/2012/09/14/2
- http://www.openwall.com/lists/oss-security/2012/09/17/2
- http://www.securityfocus.com/bid/55517
- http://www.ubuntu.com/usn/USN-1576-1
- http://www.ubuntu.com/usn/USN-1576-2
- https://bugs.freedesktop.org/show_bug.cgi?id=52202
- https://bugzilla.novell.com/show_bug.cgi?id=697105
- https://bugzilla.redhat.com/show_bug.cgi?id=847402
- https://security-tracker.debian.org/tracker/CVE-2012-3524
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.