CVE-2012-6150
Reported by redhat · Published December 3, 2013
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba | samba | 4.1.3, 4.0.13, 3.6.22, 3.4.0 |
| samba | Ubuntu:14.04:LTS | 2:4.0.13+dfsg-1ubuntu1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Dec 3, 2013 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (8 in total, the first dated here)
- Oct 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-6150
vulnetix vdb fixes CVE-2012-6150
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-6150/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- HPSBUX03087 vendor-advisoryx_refsource_HP
- USN-2054-1 vendor-advisoryx_refsource_UBUNTU
- [samba-technical] 20120612 winbind pam security problem mailing-listx_refsource_MLIST
- FEDORA-2014-9132 vendor-advisoryx_refsource_FEDORA
- SUSE-SU-2014:0024 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2014:0405 vendor-advisoryx_refsource_SUSE
- GLSA-201502-15 vendor-advisoryx_refsource_GENTOO
- FEDORA-2014-7672 vendor-advisoryx_refsource_FEDORA
- openSUSE-SU-2013:1921 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1106 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1107 vendor-advisoryx_refsource_SUSE
- [samba-technical] 20131128 fail authentication if user isn't member of *any* require_membership_of specified groups mailing-listx_refsource_MLIST
- [oss-security] 20131202 Re: CVE request: samba pam_winbind authentication fails open mailing-listx_refsource_MLIST
- RHSA-2014:0330 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- MDVSA-2013:299 vendor-advisoryx_refsource_MANDRIVA
- x_refsource_CONFIRM