CVE-2012-3524: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-qw63-7rfw-9cx5
Published
Advisory Summary

CVE-2012-3524 is a MODERATE security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2012-3524 at a Glance

CVE Identifier CVE-2012-3524
GHSA Identifier GHSA-qw63-7rfw-9cx5
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2012-3524

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2012-3524, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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."

References

NVD — CVE-2012-3524 NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-3524
access.redhat.com/errata/rhsa-2012:12... WEB
https://access.redhat.com/errata/RHSA-2012:1261
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2012-3524
bugs.freedesktop.org/show_bug.cgi WEB
https://bugs.freedesktop.org/show_bug.cgi?id=52202
bugzilla.novell.com/show_bug.cgi WEB
https://bugzilla.novell.com/show_bug.cgi?id=697105
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=847402
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00009.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00015.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00000.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2012-10/msg00094.html
rhn.redhat.com/errata/rhsa-2012-12... WEB
http://rhn.redhat.com/errata/RHSA-2012-1261.html
secunia.com/advisories/50537 WEB
http://secunia.com/advisories/50537
secunia.com/advisories/50544 WEB
http://secunia.com/advisories/50544
secunia.com/advisories/50710 WEB
http://secunia.com/advisories/50710
stealth.openwall.net/null/dzug.c WEB
http://stealth.openwall.net/null/dzug.c
www.exploit-db.com/exploits/21323 WEB
http://www.exploit-db.com/exploits/21323
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2013:070
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2013:083
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/07/10/4
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/07/26/1
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/09/12/6
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/09/14/2
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/09/17/2
Software Security Information SECURITY
http://www.securityfocus.com/bid/55517
www.ubuntu.com/usn/usn-1576-1 WEB
http://www.ubuntu.com/usn/USN-1576-1
www.ubuntu.com/usn/usn-1576-2 WEB
http://www.ubuntu.com/usn/USN-1576-2

Frequently Asked Questions

What is CVE-2012-3524?
CVE-2012-3524 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2012-3524?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2012-3524?
CVE-2012-3524 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2012-3524?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qw63-7rfw-9cx5",
  "modified" : "2022-05-17T04:44:57Z",
  "published" : "2022-05-17T04:44:57Z",
  "aliases" : [ "CVE-2012-3524" ],
  "details" : "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.\"",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3524"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2012:1261"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2012-3524"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.freedesktop.org/show_bug.cgi?id=52202"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.novell.com/show_bug.cgi?id=697105"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=847402"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00009.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00015.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2012-10/msg00094.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-1261.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/50537"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/50544"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/50710"
  }, {
    "type" : "WEB",
    "url" : "http://stealth.openwall.net/null/dzug.c"
  }, {
    "type" : "WEB",
    "url" : "http://www.exploit-db.com/exploits/21323"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2013:070"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2013:083"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/07/10/4"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/07/26/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/09/12/6"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/09/14/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/09/17/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/55517"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1576-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1576-2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2012-09-18T17:55:00Z"
  }
}