CVE-2012-3524

NameCVE-2012-3524
Descriptionlibdbus 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."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: local)
Debian Bugs689070

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dbus (PTS)jessie1.8.22-0+deb8u1fixed
stretch1.10.26-0+deb9u1fixed
buster, sid1.12.10-1fixed
glib2.0 (PTS)jessie2.42.1-1fixed
stretch2.50.3-2fixed
buster, sid2.56.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dbussource(unstable)1.6.8-1medium689070
dbussourcesqueeze1.2.24-4+squeeze2medium
glib2.0source(unstable)2.33.12+really2.32.4-2medium
glib2.0sourcesqueeze(not affected)

Notes

[squeeze] - glib2.0 <not-affected> (Vulnerable code not present)
fixed in 2.34.0-1 from experimental
http://www.openwall.com/lists/oss-security/2012/09/12/6
https://bugzilla.novell.com/show_bug.cgi?id=697105
http://stealth.openwall.net/null/dzug.c

Search for package or bug name: Reporting problems