6.9
MEDIUM
CVE-2012-3524
Xorg Libdbus Privilege Escalation Vulnerability
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."

INFO

Published Date :

Sept. 18, 2012, 5:55 p.m.

Last Modified :

Nov. 21, 2024, 1:41 a.m.

Remotely Exploitable :

No

Impact Score :

10.0

Exploitability Score :

3.4
Public PoC/Exploit Available at Github

CVE-2012-3524 has a 32 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2012-3524 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Freedesktop libdbus
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2012-3524.

URL Resource
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 Vendor Advisory
http://secunia.com/advisories/50544
http://secunia.com/advisories/50710
http://stealth.openwall.net/null/dzug.c Exploit
http://www.exploit-db.com/exploits/21323 Exploit
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 Exploit
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 Patch
https://bugzilla.novell.com/show_bug.cgi?id=697105
https://bugzilla.redhat.com/show_bug.cgi?id=847402
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 Vendor Advisory
http://secunia.com/advisories/50544
http://secunia.com/advisories/50710
http://stealth.openwall.net/null/dzug.c Exploit
http://www.exploit-db.com/exploits/21323 Exploit
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 Exploit
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 Patch
https://bugzilla.novell.com/show_bug.cgi?id=697105
https://bugzilla.redhat.com/show_bug.cgi?id=847402

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

C Shell Python Assembly Ruby Makefile Meson

Updated: 4 months ago
0 stars 0 fork 0 watcher
Born at : July 20, 2024, 8:34 p.m. This repo has been linked 91 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 2 months, 3 weeks ago
26 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 5 months ago
0 stars 0 fork 0 watcher
Born at : June 14, 2023, 7:23 p.m. This repo has been linked 50 different CVEs too.

Linux privilege escalation exploits collection.

C Shell Python Assembly Ruby Makefile Meson

Updated: 2 months, 2 weeks ago
88 stars 13 fork 13 watcher
Born at : April 26, 2023, 2:58 p.m. This repo has been linked 91 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 6 months ago
1 stars 0 fork 0 watcher
Born at : April 26, 2023, 7:11 a.m. This repo has been linked 50 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : April 3, 2022, 1:47 p.m. This repo has been linked 49 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 3 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Oct. 21, 2021, 9:46 a.m. This repo has been linked 56 different CVEs too.

Linux Eelvation(持续更新)

cve-2021-3156 cve-2019-7304 cve-2019-13272 cve-2018-18955 cve-2018-1000001 cve-2018-17182 cve-2017-1000367 cve-2017-1000112 cve-2017-16995 cve-2017-16939 linux-kernel elevation cve-2021-4034 cve-2022-0847

C Shell Python Ruby Makefile HTML

Updated: 2 months, 3 weeks ago
390 stars 92 fork 92 watcher
Born at : March 30, 2021, 7:09 a.m. This repo has been linked 72 different CVEs too.

Linux Elevation

C Shell Python Ruby Makefile HTML

Updated: 1 year, 9 months ago
2 stars 6 fork 6 watcher
Born at : Dec. 29, 2020, 12:49 a.m. This repo has been linked 56 different CVEs too.

Linux kernel EoP exp

C Shell Python Ruby Makefile HTML C++

Updated: 2 months, 2 weeks ago
73 stars 16 fork 16 watcher
Born at : May 13, 2020, 6:28 a.m. This repo has been linked 55 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 4 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : May 3, 2020, 2:04 p.m. This repo has been linked 50 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 4 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2020, 3:07 p.m. This repo has been linked 50 different CVEs too.

Localroot-ALL-CVE~

localroot cheatsheet security kernel linux exploits cve linux-privilege-escalation cybersecurity infosec pentesting

C Shell Python Ruby Makefile HTML Perl Batchfile

Updated: 2 months, 3 weeks ago
123 stars 46 fork 46 watcher
Born at : Feb. 2, 2020, 6:25 a.m. This repo has been linked 93 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 4 years, 10 months ago
0 stars 1 fork 1 watcher
Born at : Jan. 17, 2020, 2:20 a.m. This repo has been linked 50 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 5 years ago
0 stars 1 fork 1 watcher
Born at : Nov. 15, 2019, 8:16 a.m. This repo has been linked 50 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2012-3524 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2012-3524 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed 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." 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."
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description CVE-2012-3524 dbus: privilege escalation when libdbus is used in setuid/setgid application 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."
    Removed CVSS V2 Red Hat, Inc. (AV:L/AC:M/Au:N/C:C/I:C/A:C)
    Removed Reference https://access.redhat.com/errata/RHSA-2012:1261 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2012-3524 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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." CVE-2012-3524 dbus: privilege escalation when libdbus is used in setuid/setgid application
    Added CVSS V2 Red Hat, Inc. (AV:L/AC:M/Au:N/C:C/I:C/A:C)
    Added Reference https://access.redhat.com/security/cve/CVE-2012-3524 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2012:1261 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 19, 2012

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2012-3524 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2012-3524 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.11905

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability