You are here

T-563: Red Hat Directory Server Bugs Let Local Users Gain Elevated Privileges and Remote and Local Users Deny Service

February 23, 2011 - 7:00am

Addthis

PROBLEM:

Red Hat Directory Server Bugs Let Local Users Gain Elevated Privileges and Remote and Local Users Deny Service.

PLATFORM:

Red Hat Directory Server v8 EL4, Red Hat Directory Server v8 EL5

ABSTRACT:

Several vulnerabilities were reported in Red Hat Directory Server. A local user can obtain elevated privileges on the target system. A remote user can cause denial of service conditions. A local user can cause denial of service conditions.
A remote user can send multiple simple paged search requests to cause the target service to crash [CVE-2011-0019].

When multiple Red Hat Directory Server instances are configured to run under different unprivileged users, the Directory Server setup scripts set insecure permissions on the '/var/run/dirsrv/' directory [CVE-2011-0022]. A local user can modify the pid files in the directory, which may prevent Directory Server instances from starting correctly or cause the Directory Server init script to kill an arbitrary process when shutting down the Directory Server.

Multiple scripts set the LD_LIBRARY_PATH environment variable to an insecure value containing an empty path [CVE-2011-0532]. A local user can create a specially crafted dynamic library in a directory and then have a target user run the vulnerable scripts from the directory to gain elevated privileges.

reference  LINKS:

CVE-2011-0532 Directory Server: use of insecure LD_LIBRARY_PATH settings
CVE-2011-0022 Directory Server: insecure pid file directory permissions
CVE-2011-0019 Directory Server: crash with multiple simple paged result searches

IMPACT ASSESSMENT:

Medium

Discussion:

A flaw was found in the way Red Hat Directory Server handled simple paged result searches. If an unauthenticated user were able to send multiple simple paged search requests to Directory Server, it could cause the server to crash. (CVE-2011-0019)

When multiple Red Hat Directory Server instances were configured on the system to run under different unprivileged users, the Directory Server setup scripts set insecure permissions on the /var/run/dirsrv/ directory, which stores process ID (pid) files. A local user could use this flaw to manipulate the pid files in that directory, possibly preventing Directory Server instances from starting correctly, or causing the Directory Server init script to kill an arbitrary process when shutting down Directory Server. (CVE-2011-0022)

It was found that multiple scripts shipped with Red Hat Directory Server set the LD_LIBRARY_PATH environment variable to an insecure value containing an empty path. A local user able to trick a user running those scripts (usually the root user) to run them while working from an attacker-writable directory could use this flaw to escalate their privileges via a specially-crafted dynamic library. (CVE-2011-0532)

Solution:

Updated Red Hat Directory Server and related packages that fix three security issues are now available for Red Hat Directory Server 8.2.

The Red Hat Security Response Team has rated this update as having moderate security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

Red Hat Directory Server is an LDAPv3-compliant directory server. The redhat-ds-base package includes the LDAP server and command line utilities for server administration.

 

Addthis