CVE-2012-2111: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-7948-mr73-p8vq
Published
Advisory Summary

CVE-2012-2111 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-2111 at a Glance

CVE Identifier CVE-2012-2111
GHSA Identifier GHSA-7948-mr73-p8vq
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-2111

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-2111, 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

The (1) CreateAccount, (2) OpenAccount, (3) AddAccountRights, and (4) RemoveAccountRights LSA RPC procedures in smbd in Samba 3.4.x before 3.4.17, 3.5.x before 3.5.15, and 3.6.x before 3.6.5 do not properly restrict modifications to the privileges database, which allows remote authenticated users to obtain the "take ownership" privilege via an LSA connection.

References

NVD — CVE-2012-2111 NVD
https://nvd.nist.gov/vuln/detail/CVE-2012-2111
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079662.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079670.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079677.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00023.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00001.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00003.html
marc.info/ WEB
http://marc.info/?l=bugtraq&m=134323086902585&w=2
osvdb.org/81648 WEB
http://osvdb.org/81648
rhn.redhat.com/errata/rhsa-2012-05... WEB
http://rhn.redhat.com/errata/RHSA-2012-0533.html
secunia.com/advisories/48976 WEB
http://secunia.com/advisories/48976
secunia.com/advisories/48984 WEB
http://secunia.com/advisories/48984
secunia.com/advisories/48996 WEB
http://secunia.com/advisories/48996
secunia.com/advisories/48999 WEB
http://secunia.com/advisories/48999
secunia.com/advisories/49017 WEB
http://secunia.com/advisories/49017
secunia.com/advisories/49030 WEB
http://secunia.com/advisories/49030
www.collax.com/produkte/allinone-s... WEB
http://www.collax.com/produkte/AllinOne-server-for-small-businesses#id2565578
Software Security Information SECURITY
http://www.debian.org/security/2012/dsa-2463
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2012:067
Software Security Information SECURITY
http://www.samba.org/samba/security/CVE-2012-2111
Software Security Information SECURITY
http://www.securitytracker.com/id?1026988
www.ubuntu.com/usn/usn-1434-1 WEB
http://www.ubuntu.com/usn/USN-1434-1

Frequently Asked Questions

What is CVE-2012-2111?
CVE-2012-2111 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-2111?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2012-2111?
CVE-2012-2111 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2012-2111?
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-7948-mr73-p8vq",
  "modified" : "2022-05-14T04:00:05Z",
  "published" : "2022-05-14T04:00:05Z",
  "aliases" : [ "CVE-2012-2111" ],
  "details" : "The (1) CreateAccount, (2) OpenAccount, (3) AddAccountRights, and (4) RemoveAccountRights LSA RPC procedures in smbd in Samba 3.4.x before 3.4.17, 3.5.x before 3.5.15, and 3.6.x before 3.6.5 do not properly restrict modifications to the privileges database, which allows remote authenticated users to obtain the \"take ownership\" privilege via an LSA connection.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-2111"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079662.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079670.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2012-May/079677.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-04/msg00023.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=134323086902585&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/81648"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-0533.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48976"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48984"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48996"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/48999"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/49017"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/49030"
  }, {
    "type" : "WEB",
    "url" : "http://www.collax.com/produkte/AllinOne-server-for-small-businesses#id2565578"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2012/dsa-2463"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2012:067"
  }, {
    "type" : "WEB",
    "url" : "http://www.samba.org/samba/security/CVE-2012-2111"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1026988"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1434-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2012-04-30T14:55:00Z"
  }
}