-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                         ESB-2008.0736 -- [RedHat]
                 Low: nss_ldap security and bug fix update
                               25 July 2008

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              nss_ldap
Publisher:            Red Hat
Operating System:     Red Hat Linux 4
Impact:               Access Privileged Data
Access:               Remote/Unauthenticated
CVE Names:            CVE-2007-5794

Ref:                  ESB-2007.0950

Original Bulletin:    https://rhn.redhat.com/errata/RHSA-2008-0715.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Low: nss_ldap security and bug fix update
Advisory ID:       RHSA-2008:0715-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2008-0715.html
Issue date:        2008-07-24
CVE Names:         CVE-2007-5794 
=====================================================================

1. Summary:

An updated nss_ldap package that fixes a security issue and several bugs is
now available.

This update has been rated as having low security impact by the Red Hat
Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64

3. Description:

The nss_ldap package contains the nss_ldap and pam_ldap modules. The
nss_ldap module is a plug-in which allows applications to retrieve
information about users and groups from a directory server. The pam_ldap
module allows PAM-aware applications to use a directory server to verify
user passwords.

A race condition was discovered in nss_ldap, which affected certain
applications that make LDAP connections, such as Dovecot. This could cause
nss_ldap to answer a request for information about one user with the
information about a different user. (CVE-2007-5794)

As well, this updated package fixes the following bugs:

* in certain situations, on Itanium(R) architectures, when an application
performed an LDAP lookup for a highly populated group, for example,
containing more than 150 members, the application crashed, or may have
caused a segmentation fault. As well, this issue may have caused commands,
such as "ls", to return a "ber_free_buf: Assertion" error.

* when an application enumerated members of a netgroup, the nss_ldap
module returned a successful status result and the netgroup name, even
when the netgroup did not exist. This behavior was not consistent with
other modules. In this updated package, nss_ldap no longer returns a
successful status when the netgroup does not exist.

* in master and slave server environments, with systems that were
configured to use a read-only directory server, if user log in attempts
were denied because their passwords had expired, and users attempted to
immediately change their passwords, the replication server returned an LDAP
referral, instructing the pam_ldap module to resissue its request to a
different server; however, the pam_ldap module failed to do so. In these
situations, an error such as the following occurred:

LDAP password information update failed: Can't contact LDAP server
Insufficient 'write' privilege to the 'userPassword' attribute of entry
[entry]

In this updated package, password changes are allowed when binding against
a slave server, which resolves this issue.

* when a system used a directory server for naming information, and
"nss_initgroups_ignoreusers root" was configured in "/etc/ldap.conf",
dbus-daemon-1 would hang. Running the "service messagebus start" command
did not start the service, and it did not fail, which would stop the boot
process if it was not cancelled.

As well, this updated package upgrades nss_ldap to the version as shipped
with Red Hat Enterprise Linux 5.

Users of nss_ldap are advised to upgrade to this updated package, which
resolves these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network.  Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

5. Bugs fixed (http://bugzilla.redhat.com/):

155187 - CVE-2007-5794 nss_ldap randomly replying with wrong user's data [rhel-4.7]
233382 - nss_ldap crashes on large groups (IA64)
253997 - nss_ldap / setnetgrent() returns always 1 despite not retrieving any valid results.
367461 - CVE-2007-5794 nss_ldap randomly replying with wrong user's data
401731 - Rebase nss_ldap to RHEL 5.2 version
429101 - dbus-daemon-1 hangs when using the option nss_initgroups_ignoreusers in /etc/ldap.conf with the user root

6. Package List:

Red Hat Enterprise Linux AS version 4:

Source:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/nss_ldap-253-5.el4.src.rpm

i386:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm

ia64:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-253-5.el4.ia64.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.ia64.rpm

ppc:
nss_ldap-253-5.el4.ppc.rpm
nss_ldap-253-5.el4.ppc64.rpm
nss_ldap-debuginfo-253-5.el4.ppc.rpm
nss_ldap-debuginfo-253-5.el4.ppc64.rpm

s390:
nss_ldap-253-5.el4.s390.rpm
nss_ldap-debuginfo-253-5.el4.s390.rpm

s390x:
nss_ldap-253-5.el4.s390.rpm
nss_ldap-253-5.el4.s390x.rpm
nss_ldap-debuginfo-253-5.el4.s390.rpm
nss_ldap-debuginfo-253-5.el4.s390x.rpm

x86_64:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-253-5.el4.x86_64.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

Source:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/nss_ldap-253-5.el4.src.rpm

i386:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm

x86_64:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-253-5.el4.x86_64.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

Source:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/nss_ldap-253-5.el4.src.rpm

i386:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm

ia64:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-253-5.el4.ia64.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.ia64.rpm

x86_64:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-253-5.el4.x86_64.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

Source:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/nss_ldap-253-5.el4.src.rpm

i386:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm

ia64:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-253-5.el4.ia64.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.ia64.rpm

x86_64:
nss_ldap-253-5.el4.i386.rpm
nss_ldap-253-5.el4.x86_64.rpm
nss_ldap-debuginfo-253-5.el4.i386.rpm
nss_ldap-debuginfo-253-5.el4.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5794
http://www.redhat.com/security/updates/classification/#low

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2008 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFIiLxwXlSAg2UNWIIRAiCyAJ9KKnPFImIHWRDpC5cstrqc8RzxdgCdHCXl
XE/9aQzCZdbZ0RaKlWj5acw=
=c8qv
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBSIlCKih9+71yA2DNAQIsZQQAjhNsczEH1f6mpqp6LR/g/hu4ysbKkvWX
qRNj9VcQ3ryhia6vdNqePuGx461THC3i4CQledEgGp2gceBqpNhtdnp8BnBmV2E7
4+DlLrboXIZI4DFeslE2J11n+JP8f7t7liTMG0Ukqgk7hKuoK6LG3sr7878d4rg7
KBU5Y5Um36c=
=Tz3P
-----END PGP SIGNATURE-----