Bug 286271 - (CVE-2007-4138) CVE-2007-4138 samba incorrect primary group assignment for domain users using the rfc2307 or sfu winbind nss info plugin
CVE-2007-4138 samba incorrect primary group assignment for domain users using...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 286311 351481 351491 351501 351511
Blocks: 338811 338821
  Show dependency treegraph
Reported: 2007-09-11 12:04 EDT by Tomas Hoger
Modified: 2010-02-23 22:49 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-08 07:29:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tomas Hoger 2007-09-11 12:04:19 EDT
New Samba release 3.0.26 fixes following security issue [1]:


When the "winbind nss info" parameter in smb.conf is set to either "sfu" or
"rfc2307", Windows users are incorrectly assigned a primary gid of 0 in the
absence of the RFC2307 or Services or Unix (SFU) primary group attributes.


The idmap_ad.so library provides an nss_info extension to Winbind
for retrieving a user's home directory path, login shell and
primary group id from an Active Directory domain controller.  This
functionality is enabled by defining the "winbind nss info"
smb.conf option to either "sfu" or "rfc2307".

Both the Windows "Identity Management for Unix" and "Services for
Unix" MMC plug-ins allow a user to be assigned a primary group
for Unix clients that differs from the user's Windows primary group.
When the rfc2307 or sfu nss_info plugin has been enabled, in
the absence of either the RFC2307 or SFU primary group attribute,
Winbind will assign a primary group ID of 0 to the domain user
queried using the getpwnam() C library call.

Only affects versions: 3.0.25 - 3.0.25c

Patch: [2]

[1] http://www.samba.org/samba/security/CVE-2007-4138.html
[2] http://www.samba.org/samba/ftp/patches/security/samba-3.0.25-CVE-2007-4138.patch


Red Hat would like to thank Rick King for responsibly disclosing this issue.
Comment 2 Tomas Hoger 2007-09-11 12:17:53 EDT
This issue did not affect version of samba as shipped with Red Hat Enterprise
Linux 2.1, 3, 4, or 5.
Comment 3 Josh Bressers 2007-10-24 13:06:25 EDT
This issue does however affect the versions of Samba being shipped in Red Hat
Enterprise Linux 4.6 and 5.1.
Comment 7 Tomas Hoger 2008-01-08 07:29:48 EST
Fixed in affected products:

Red Hat Enterprise Linux:  	

  updated to fixed upstream version

Note You need to log in before you can comment on or make changes to this bug.