CVE-2012-6150 json
The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind.c in Samba through 4.1.2 handles invalid require_membership_of gr…
published 2013-12-03 12 y ago modified 2026-06-16 4 mo ago also EUVD-2012-6006
- cvss
- 3.6
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind.c in Samba through 4.1.2 handles invalid require_membership_of group names by accepting authentication by any user, which allows remote authenticated users to bypass intended access restrictions in opportunistic circumstances by leveraging an administrator's pam_winbind configuration-file mistake.
Patch / fix
- samba samba 3.4.0, 3.6.22, 4.0.13, 4.1.3
- samba Debian 14, Debian 13, Debian 12 2:4.0.13+dfsg-1
debian advisories DEBIAN-CVE-2012-6150
- samba Ubuntu 14.04 LTS 2:4.0.13+dfsg-1ubuntu1
ubuntu advisories UBUNTU-CVE-2012-6150
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- samba4 RHEL 6 4.0.0-61.el6_5.rc4
- samba4-dc RHEL 6 4.0.0-61.el6_5.rc4
- samba4-libs RHEL 6 4.0.0-61.el6_5.rc4
- samba4-pidl RHEL 6 4.0.0-61.el6_5.rc4
- samba4-swat RHEL 6 4.0.0-61.el6_5.rc4
- samba4-test RHEL 6 4.0.0-61.el6_5.rc4
- samba4-client RHEL 6 4.0.0-61.el6_5.rc4
- samba4-common RHEL 6 4.0.0-61.el6_5.rc4
red hat advisories RHSA-2014:0383RHSA-2014:0330
- samba openSUSE Tumbleweed 4.5.0-1.1
opensuse advisories openSUSE-SU-2024:10069-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-6150 updated cvss 2.9
samba: pam_winbind fails open when non-existent group specified to require_membership_of
-
Red Hat Enterprise Linux (v. 5 server) samba3x 3.6.6-0.139.el5_10, samba3x-swat 3.6.6-0.139.el5_10, samba3x-client 3.6.6-0.139.el5_10, samba3x-common 3.6.6-0.139.el5_10, samba3x-winbind 3.6.6-0.139.el5_10, samba3x-domainjoin-gui 3.6.6-0.139.el5_10 Red Hat Enterprise Linux Desktop (v. 5 client) samba3x 3.6.6-0.139.el5_10, samba3x-swat 3.6.6-0.139.el5_10, samba3x-client 3.6.6-0.139.el5_10, samba3x-common 3.6.6-0.139.el5_10, samba3x-winbind 3.6.6-0.139.el5_10, samba3x-domainjoin-gui 3.6.6-0.139.el5_10 Red Hat Enterprise Linux Desktop (v. 6) samba 3.6.9-168.el6_5, samba4 4.0.0-61.el6_5.rc4, libsmbclient 3.6.9-168.el6_5, samba-client 3.6.9-168.el6_5, samba-common 3.6.9-168.el6_5, samba4-dc 4.0.0-61.el6_5.rc4, +13 more Red Hat Enterprise Linux Desktop Optional (v. 6) samba 3.6.9-168.el6_5, samba-swat 3.6.9-168.el6_5, samba-domainjoin-gui 3.6.9-168.el6_5, samba-winbind-krb5-locator 3.6.9-168.el6_5 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) samba3x 3.6.6-0.139.el5_10 Red Hat Enterprise Linux HPC Node (v. 6) samba 3.6.9-168.el6_5, samba4 4.0.0-61.el6_5.rc4, samba-client 3.6.9-168.el6_5, samba-common 3.6.9-168.el6_5, samba4-dc 4.0.0-61.el6_5.rc4, samba-winbind 3.6.9-168.el6_5, +12 morefixed: vendor fix RHSA-2014:0330
+5 more productsfewer
Red Hat Enterprise Linux HPC Node Optional (v. 6) samba 3.6.9-168.el6_5, samba-swat 3.6.9-168.el6_5, libsmbclient 3.6.9-168.el6_5, samba-domainjoin-gui 3.6.9-168.el6_5, samba-winbind-krb5-locator 3.6.9-168.el6_5 Red Hat Enterprise Linux Server (v. 6) samba 3.6.9-168.el6_5, samba4 4.0.0-61.el6_5.rc4, libsmbclient 3.6.9-168.el6_5, samba-client 3.6.9-168.el6_5, samba-common 3.6.9-168.el6_5, samba4-dc 4.0.0-61.el6_5.rc4, +13 more Red Hat Enterprise Linux Server Optional (v. 6) samba 3.6.9-168.el6_5, samba-swat 3.6.9-168.el6_5, samba-domainjoin-gui 3.6.9-168.el6_5, samba-winbind-krb5-locator 3.6.9-168.el6_5 Red Hat Enterprise Linux Workstation (v. 6) samba 3.6.9-168.el6_5, samba4 4.0.0-61.el6_5.rc4, libsmbclient 3.6.9-168.el6_5, samba-client 3.6.9-168.el6_5, samba-common 3.6.9-168.el6_5, samba4-dc 4.0.0-61.el6_5.rc4, +13 more Red Hat Enterprise Linux Workstation Optional (v. 6) samba 3.6.9-168.el6_5, samba-swat 3.6.9-168.el6_5, samba-domainjoin-gui 3.6.9-168.el6_5, samba-winbind-krb5-locator 3.6.9-168.el6_5 -
Red Hat Enterprise Linux 5 samba Red Hat Enterprise Linux 7 ctdb, samba, samba-dc, ctdb-tests, samba-libs, samba-pidl, +18 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.79% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- lists.samba.org https://lists.samba.org/archive/samba-technical/2012-June/084593.html referenced PoC, tagged "exploit" by a source, unverified
- lists.samba.org https://lists.samba.org/archive/samba-technical/2013-November/096411.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 3.6 | AV:N/AC:H/Au:S/C:P/I:P/A:N |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
bugzilla.samba.org
/show_bug.cgi?id=10300
issue-tracking, patch, third-party-advisory
-
lists.samba.org
/archive/samba-technical/2012-June/084593.html
mailing-list, exploit, vendor-advisory
-
lists.samba.org
/archive/samba-technical/2013-November/096411.html
mailing-list, exploit, vendor-advisory
-
marc.info
/?l=bugtraq&m=141660010015249&w=2
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-2054-1
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2014-August/136864.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2014-01/msg00002.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2014-03/msg00063.html
vendor-advisory, mailing-list, third-party-advisory
-
security.gentoo.org
/glsa/glsa-201502-15.xml
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2014-June/134717.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-12/msg00088.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-04/msg00047.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-04/msg00048.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2014-0330.html
vendor-advisory, third-party-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:299
vendor-advisory, third-party-advisory
-
openwall.com
/lists/oss-security/2013/12/03/5
mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1036897
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2012-6150
- NVD CVE-2012-6150
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.