CVE-2012-6150
published 2013-12-03CVE-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…
PriorityP424low3.6CVSS 2.0
AVNACHAuSCPIPAN
EPSS
3.79%
88.9th percentile
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.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | samba | < samba 2:4.0.13+dfsg-1 (bookworm) | samba 2:4.0.13+dfsg-1 (bookworm) |
| samba | samba | >= 0 < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| samba | samba | >= 0 < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| samba | samba | >= 0 < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| samba | samba | >= 0 < 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| samba | samba | >= 3.3.10 < 3.4.0 | 3.4.0 |
| samba | samba | >= 3.4.3 < 3.6.22 | 3.6.22 |
| samba | samba | >= 4.0.0 < 4.0.13 | 4.0.13 |
| samba | samba | >= 4.1.0 < 4.1.3 | 4.1.3 |
CVSS provenance
nvdv2.03.6LOWAV:N/AC:H/Au:S/C:P/I:P/A:N
osv3.6LOW
vendor_debian3.6LOW
vendor_redhat3.6LOW
vendor_ubuntu3.6LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2013-12-11·CVSS 3.6
CVE-2012-6150 [LOW] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
It was discovered that Winbind incorrectly handled invalid group names with
the require_membership_of parameter. If an administrator used an invalid
group name by mistake, access was granted instead of having the login fail.
(CVE-2012-6150)
Stefan Metzmacher and Michael Adam discovered that Samba incorrectly
handled DCE-RPC fragment length fields. A remote attacker could use this
issue to cause Samba to crash, resulting in a denial of service, or
possibly execute arbitrary code as the root user. (CVE-2013-4408)
Hemanth Thummala discovered that Samba incorrectly handled file
permissions when vfs_streams_depot or vfs_streams_xattr were enabled. A
remote attacker could use this issue to bypass intended rest
Red Hat
samba: pam_winbind fails open when non-existent group specified to require_membership_of
vendor_redhat·2012-06-12·CVSS 3.6
CVE-2012-6150 [LOW] samba: pam_winbind fails open when non-existent group specified to require_membership_of
samba: pam_winbind fails open when non-existent group specified to require_membership_of
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.
Package: samba (Red Hat Enterprise Linux 5) - Not affected
Package: samba (Red Hat Enterprise Linux 7) - Not affected
Debian
CVE-2012-6150: samba - The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind.c in S...
vendor_debian·2012·CVSS 3.6
CVE-2012-6150 [LOW] CVE-2012-6150: samba - The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind.c in S...
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.
Scope: local
bookworm: resolved (fixed in 2:4.0.13+dfsg-1)
bullseye: resolved (fixed in 2:4.0.13+dfsg-1)
forky: resolved (fixed in 2:4.0.13+dfsg-1)
sid: resolved (fixed in 2:4.0.13+dfsg-1)
trixie: resolved (fixed in 2:4.0.13+dfsg-1)
GHSA
GHSA-65q8-2h4w-pqq6: The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind
ghsa_unreviewed·2022-05-17
CVE-2012-6150 [LOW] CWE-20 GHSA-65q8-2h4w-pqq6: The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind
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.
OSV
CVE-2012-6150: The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind
osv·2013-12-03·CVSS 3.6
CVE-2012-6150 [LOW] CVE-2012-6150: The winbind_name_list_to_sid_string_list function in nsswitch/pam_winbind
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2012-6150 samba: pam_winbind fails open when non-existent group specified to require_membership_of [fedora-all]
bugzilla·2013-12-09·CVSS 3.6
CVE-2012-6150 [LOW] CVE-2012-6150 samba: pam_winbind fails open when non-existent group specified to require_membership_of [fedora-all]
CVE-2012-6150 samba: pam_winbind fails open when non-existent group specified to require_membership_of [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when a
Bugzilla
CVE-2012-6150 samba: pam_winbind fails open when non-existent group specified to require_membership_of
bugzilla·2013-12-02·CVSS 3.6
CVE-2012-6150 [LOW] CVE-2012-6150 samba: pam_winbind fails open when non-existent group specified to require_membership_of
CVE-2012-6150 samba: pam_winbind fails open when non-existent group specified to require_membership_of
It was reported [1] that Samba's pam_winbind module would fail open (allowing access) when the require_membership_of option is used as an argument to pam_winbind, and contains a non-existent group as the value. In such a configuration, rather then failing and not permitting authentication which is what would be expected, pam_winbind will allow authentication to proceed.
For instance, if the following is specified and the user is not a member of the group 'Admin', they will not obtain access to the system:
auth sufficient pam_winbind.so use_first_pass require_membership_of=Admin
On the other hand, if the non-existent group 'AdminOops' is specified, the user is obviously not a member of
http://lists.fedoraproject.org/pipermail/package-announce/2014-August/136864.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2014-June/134717.htmlhttp://lists.opensuse.org/opensuse-security-announce/2014-01/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.htmlhttp://lists.opensuse.org/opensuse-updates/2013-12/msg00088.htmlhttp://lists.opensuse.org/opensuse-updates/2014-03/msg00063.htmlhttp://marc.info/?l=bugtraq&m=141660010015249&w=2http://openwall.com/lists/oss-security/2013/12/03/5http://rhn.redhat.com/errata/RHSA-2014-0330.htmlhttp://security.gentoo.org/glsa/glsa-201502-15.xmlhttp://www.mandriva.com/security/advisories?name=MDVSA-2013:299http://www.ubuntu.com/usn/USN-2054-1https://bugzilla.redhat.com/show_bug.cgi?id=1036897https://bugzilla.samba.org/show_bug.cgi?id=10300https://lists.samba.org/archive/samba-technical/2012-June/084593.htmlhttps://lists.samba.org/archive/samba-technical/2013-November/096411.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2014-August/136864.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2014-June/134717.htmlhttp://lists.opensuse.org/opensuse-security-announce/2014-01/msg00002.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.htmlhttp://lists.opensuse.org/opensuse-updates/2013-12/msg00088.htmlhttp://lists.opensuse.org/opensuse-updates/2014-03/msg00063.htmlhttp://marc.info/?l=bugtraq&m=141660010015249&w=2http://openwall.com/lists/oss-security/2013/12/03/5http://rhn.redhat.com/errata/RHSA-2014-0330.htmlhttp://security.gentoo.org/glsa/glsa-201502-15.xmlhttp://www.mandriva.com/security/advisories?name=MDVSA-2013:299http://www.ubuntu.com/usn/USN-2054-1https://bugzilla.redhat.com/show_bug.cgi?id=1036897https://bugzilla.samba.org/show_bug.cgi?id=10300https://lists.samba.org/archive/samba-technical/2012-June/084593.htmlhttps://lists.samba.org/archive/samba-technical/2013-November/096411.html
2013-12-03
Published