Bug 11187 - nss_ldap-106 exposes shadow passwords when nscd active
Summary: nss_ldap-106 exposes shadow passwords when nscd active
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: nss_ldap
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Keywords: Security
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-02 22:25 UTC by David Lawrence
Modified: 2007-04-18 16:26 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-10-18 14:15:54 UTC


Attachments (Terms of Use)

Description Red Hat Bugzilla 2000-05-02 22:25:19 UTC
I have an LDAP setup that only allows access to
(encrypted) passwords when clients binding to a
privileged entity.  I was using nss_ldap to access
this info using its "rootbinddn" option in
/etc/ldap.conf and /etc/ldap.secret.  But I found
that non-privileged clients were able to access
the shadow passwords through ordinary getpw* calls.

The cause of the problem was that nss_ldap-106 was
returning passwords for getpw* calls, even for
shadowed accounts.  Nscd had privileges to access
this info and was passing it on to all clients.

I fixed this problem on my system by upgrading to
an RPM I built for nss_ldap-107, which comes with
a fix for this problem.

(Also, nscd should probably be fixed to drop privs
after creating its socket.)

Comment 1 Red Hat Bugzilla 2002-02-11 16:50:43 UTC
comment.

Comment 2 Red Hat Bugzilla 2002-12-14 23:11:20 UTC
Nalin can you confirm this was fixed >?


Comment 3 Red Hat Bugzilla 2006-08-07 17:12:46 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
http://www.redhat.com/rhel/migrate/redhatlinux/.

Red Hat apologizes that these issues have not been resolved yet. We do
want to make sure that no important bugs slip through the cracks.
Please check if this issue is still present in a current Fedora Core
release. If so, please change the product and version to match, and
check the box indicating that the requested information has been
provided. Note that any bug still open against Red Hat Linux on will be
closed as 'CANTFIX' on September 30, 2006. Thanks again for your help.


Comment 4 Red Hat Bugzilla 2006-10-18 14:15:54 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
http://www.redhat.com/rhel/migrate/redhatlinux/.

Closing as CANTFIX.


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