CVEfocus › CVE database › CVE-2012-2111

CVE-2012-2111

EPSS 4.7% (higher than 92% of CVEs)Published 2012-04-30Updated 2024-08-06Assigner: redhat

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.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14sambaFixed2:3.6.5-1DEBIAN-CVE-2012-2111
Debian 13sambaFixed2:3.6.5-1DEBIAN-CVE-2012-2111
Debian 12sambaFixed2:3.6.5-1DEBIAN-CVE-2012-2111
Red Hat Enterprise Linux 6libsmbclientFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6libsmbclient-develFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6sambaFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-clientFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-commonFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-docFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-domainjoin-guiFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-swatFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-winbindFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-winbind-clientsFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-winbind-develFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba-winbind-krb5-locatorFixed0:3.5.10-116.el6_2RHSA-2012:0533
Red Hat Enterprise Linux 6samba4Not affected
Red Hat Enterprise Linux 6samba4-clientNot affected
Red Hat Enterprise Linux 6samba4-commonNot affected
Red Hat Enterprise Linux 6samba4-dcNot affected
Red Hat Enterprise Linux 6samba4-dc-libsNot affected
Red Hat Enterprise Linux 6samba4-develNot affected
Red Hat Enterprise Linux 6samba4-libsNot affected
Red Hat Enterprise Linux 6samba4-pidlNot affected
Red Hat Enterprise Linux 6samba4-pythonNot affected
Red Hat Enterprise Linux 6samba4-swatNot affected
Red Hat Enterprise Linux 6samba4-testNot affected
Red Hat Enterprise Linux 6samba4-winbindNot affected
Red Hat Enterprise Linux 6samba4-winbind-clientsNot affected
Red Hat Enterprise Linux 6samba4-winbind-krb5-locatorNot affected
Red Hat Enterprise Linux 5sambaNot affected
Red Hat Enterprise Linux 5samba3xFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 5samba3x-clientFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 5samba3x-commonFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 5samba3x-docFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 5samba3x-domainjoin-guiFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 5samba3x-swatFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 5samba3x-winbindFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 5samba3x-winbind-develFixed0:3.5.10-0.109.el5_8RHSA-2012:0533
Red Hat Enterprise Linux 4sambaNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.