Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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