CVE-2012-6150 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 allo...
LowCVSS 3.6
EPSS 3.8%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/samba(Debian 12) | < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 | Fixed |
| debian/samba(Debian 13) | < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 | Fixed |
| debian/samba(Debian 14) | < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 | Fixed |
| samba | >= 3.3.10, < 3.4.0; >= 3.4.3, < 3.6.22; >= 4.0.0, < 4.0.13; >= 4.1.0, < 4.1.3 | 3.4.0, 3.6.22, 4.0.13, 4.1.3 | Fixed |
| ubuntu/samba(Ubuntu 14.04) | < 2:4.0.13+dfsg-1ubuntu1; = 2:3.6.18-1ubuntu3; = 2:4.0.10+dfsg-4ubuntu2 | 2:4.0.13+dfsg-1ubuntu1 | Fixed |
| Canonical Ubuntu Linux | = 10.04; = 12.04; = 12.10; = 13.04 +1 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| samba | >= 3.3.10, < 3.4.0 | 3.4.0 |
| samba | >= 3.4.3, < 3.6.22 | 3.6.22 |
| samba | >= 4.0.0, < 4.0.13 | 4.0.13 |
| samba | >= 4.1.0, < 4.1.3 | 4.1.3 |
| Canonical Ubuntu Linux | = 10.04 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 12.10 | No fix listed |
| Canonical Ubuntu Linux | = 13.04 | No fix listed |
| Canonical Ubuntu Linux | = 13.10 | No fix listed |
| debian/samba(Debian:12) | < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| debian/samba(Debian:14) | < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| debian/samba(Debian:13) | < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| ubuntu/samba(Ubuntu:14.04) | < 2:4.0.13+dfsg-1ubuntu1 | 2:4.0.13+dfsg-1ubuntu1 |
| ubuntu/samba(Ubuntu:14.04) | = 2:3.6.18-1ubuntu3 | No fix listed |
| ubuntu/samba(Ubuntu:14.04) | = 2:4.0.10+dfsg-4ubuntu2 | No fix listed |
References
- Debian Security Tracker CVE-2012-6150 vendor-advisory
- FEDORA-2014-9132 mailing-list third-party-advisory vendor-advisory
- FEDORA-2014-7672 mailing-list third-party-advisory vendor-advisory
- SUSE-SU-2014:0024 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2016:1106 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2016:1107 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2013:1921 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2014:0405 mailing-list third-party-advisory vendor-advisory
- HPSBUX03087 mailing-list third-party-advisory vendor-advisory
- [oss-security] 20131202 Re: CVE request: samba pam_winbind authentication fails open issue-tracking mailing-list third-party-advisory
- RHSA-2014:0330 third-party-advisory vendor-advisory
- GLSA-201502-15 third-party-advisory vendor-advisory
- MDVSA-2013:299 third-party-advisory vendor-advisory
- USN-2054-1 third-party-advisory vendor-advisory
- bugzilla.redhat.com issue-tracking third-party-advisory
- bugzilla.samba.org issue-tracking patch third-party-advisory
- [samba-technical] 20120612 winbind pam security problem exploit issue-tracking mailing-list vendor-advisory
- [samba-technical] 20131128 fail authentication if user isn't member of *any* require_membership_of specified groups exploit issue-tracking mailing-list vendor-advisory
- ubuntu.com issue-tracking
- www.samba.org issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking