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 gro
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.
- Published
- Dec 3, 2013
- Updated
- Jun 16, 2026
- EPSS
- 3.8% · 90th percentile
- CWE
- CWE-20
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
15
Monitor
Low priority for now.
- CVSS
- 14 / 40 · 3.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| samba | samba | cpe:2.3:a:samba:samba |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux10.04
- canonical ubuntu linux12.04
- canonical ubuntu linux12.10
- canonical ubuntu linux13.04
- canonical ubuntu linux13.10
- samba samba4.1.0 and later · before 4.1.3
- samba samba4.0.0 and later · before 4.0.13
- samba samba3.4.3 and later · before 3.6.22
- samba samba3.3.10 and later · before 3.4.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | samba | before 2:4.0.13+dfsg-1 | 2:4.0.13+dfsg-1 |
| Red Hat:enterprise_linux:5::client | samba3x | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-client | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-common | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-debuginfo | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-doc | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-domainjoin-gui | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-swat | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client | samba3x-winbind | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:5::client_workstation | samba3x-winbind-devel | before 0:3.6.6-0.139.el5_10 | 0:3.6.6-0.139.el5_10 |
| Red Hat:enterprise_linux:6::client | libsmbclient | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | libsmbclient-devel | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-client | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-common | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-debuginfo | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-doc | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-domainjoin-gui | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-swat | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-winbind | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-winbind-clients | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-winbind-devel | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba-winbind-krb5-locator | before 0:3.6.9-168.el6_5 | 0:3.6.9-168.el6_5 |
| Red Hat:enterprise_linux:6::client | samba4 | before 0:4.0.0-61.el6_5.rc4 | 0:4.0.0-61.el6_5.rc4 |
+14
Same product
samba: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7494Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious cliKEV99Now
- CVE-2015-0240The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x befor66This week
- CVE-2003-0085Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, al66This week
- CVE-2003-0201Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before 2.2.8a, 2.0.10 and earlier 2.0.x versions, and Samba-TNG 65This week
- CVE-2007-2446Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary63This week
- CVE-2012-1182The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array len62This week
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:samba | 2:4.0.13+dfsg-1 · Debian:12 | Package registry (OSV) |
| red hat:libsmbclient | 0:3.6.9-168.el6_5 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba | 0:3.6.9-168.el6_5 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba-client | 0:3.6.9-168.el6_5 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:samba3x | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-client | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-common | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-debuginfo | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-doc | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-domainjoin-gui | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-swat | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-winbind | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client | Package registry (OSV) |
| red hat:samba3x-winbind-devel | 0:3.6.6-0.139.el5_10 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- High
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
AV:N/AC:H/Au:S/C:P/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.fedoraproject.org/pipermail/package-announce/2014-August/136864.html
- lists.fedoraproject.org/pipermail/package-announce/2014-June/134717.html
- lists.opensuse.org/opensuse-security-announce/2014-01/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
- lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
- lists.opensuse.org/opensuse-updates/2013-12/msg00088.html
- lists.opensuse.org/opensuse-updates/2014-03/msg00063.html
- marc.info/?l=bugtraq&m=141660010015249&w=2
- openwall.com/lists/oss-security/2013/12/03/5
- rhn.redhat.com/errata/RHSA-2014-0330.html
- security.gentoo.org/glsa/glsa-201502-15.xml
- www.mandriva.com/security/advisories?name=MDVSA-2013:299
- www.ubuntu.com/usn/USN-2054-1
- bugzilla.redhat.com/show_bug.cgi?id=1036897
- bugzilla.samba.org/show_bug.cgi?id=10300
Vendor advisories and official records. Exploit/PoC links are deliberately left out.