RHEL 4 : nss_ldap (RHSA-2008:0715)

medium Nessus Plugin ID 33583

Synopsis

The remote Red Hat host is missing a security update.

Description

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.

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.

Solution

Update the affected nss_ldap package.

See Also

https://access.redhat.com/security/cve/cve-2007-5794

https://access.redhat.com/errata/RHSA-2008:0715

Plugin Details

Severity: Medium

ID: 33583

File Name: redhat-RHSA-2008-0715.nasl

Version: 1.24

Type: local

Agent: unix

Published: 7/25/2008

Updated: 1/14/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:nss_ldap, cpe:/o:redhat:enterprise_linux:4

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 7/24/2008

Vulnerability Publication Date: 11/13/2007

Reference Information

CVE: CVE-2007-5794

BID: 26452

CWE: 362

RHSA: 2008:0715