CVE-2012-3524

Summary

CVECVE-2012-3524
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-09-18 17:55:00 UTC
Updated2026-04-29 01:13:23 UTC
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."

Risk And Classification

Primary CVSS: v2.0 6.9 from [email protected]

AV:L/AC:M/Au:N/C:C/I:C/A:C

Problem Types: CWE-264 | n/a

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Freedesktop Libdbus 1.5.0 All All All
Application Freedesktop Libdbus 1.5.10 All All All
Application Freedesktop Libdbus 1.5.2 All All All
Application Freedesktop Libdbus 1.5.4 All All All
Application Freedesktop Libdbus 1.5.6 All All All
Application Freedesktop Libdbus 1.5.8 All All All
Application Freedesktop Libdbus All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
847402 – (CVE-2012-3524) CVE-2012-3524 dbus: privilege escalation when libdbus is used in setuid/setgid application af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
Bug 697105 – VUL-0: CVE-2012-3524: libdbus using getenv() in suids af854a3a-2127-422b-91ae-364da2661108 bugzilla.novell.com
oss-security - Re: libdbus CVE-2012-3524 fix af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
openSUSE-SU-2012:1418-1: moderate: update for dbus-1, dbus-1-x11 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
oss-security - libdbus CVE-2012-3524 fix af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Security Alerts - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
[security-announce] openSUSE-SU-2012:1287-1: important: update for dbus- af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
504 Gateway Time-out af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Exploit
Bug 52202 – document that setuid executables must clear their environment before using libdbus af854a3a-2127-422b-91ae-364da2661108 bugs.freedesktop.org Patch
libdbus 'DBUS_SYSTEM_BUS_ADDRESS' Local Privilege Escalation af854a3a-2127-422b-91ae-364da2661108 www.exploit-db.com Exploit
Support / Security / Advisories / / MDVSA-2013:070 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
[security-announce] SUSE-SU-2012:1155-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
oss-security - Re: libdbus CVE-2012-3524 fix af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
[security-announce] SUSE-SU-2012:1155-2: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
USN-1576-2: DBus regressions | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
oss-security - libdbus hardening af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
stealth.openwall.net/null/dzug.c af854a3a-2127-422b-91ae-364da2661108 stealth.openwall.net Exploit
Security Alerts - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
oss-security - Re: libdbus hardening af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
USN-1576-1: DBus vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Support / Security / Advisories / / MDVSA-2013:083 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Security Advisory SA50544 - Red Hat update for dbus - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Red Hat Customer Portal MITRE access.redhat.com
CVE-2012-3524 - Red Hat Customer Portal MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report