Oracle Linux 6 : 389-ds-base (ELSA-2013-0742)

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote Oracle Linux host is missing one or more security updates.

Description :

From Red Hat Security Advisory 2013:0742 :

Updated 389-ds-base packages that fix one security issue and several
bugs are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having low
security impact. A Common Vulnerability Scoring System (CVSS) base
score, which gives a detailed severity rating, is available from the
CVE link in the References section.

The 389 Directory Server is an LDAPv3 compliant server. The base
packages include the Lightweight Directory Access Protocol (LDAP)
server and command-line utilities for server administration.

It was found that the 389 Directory Server did not properly restrict
access to entries when the 'nsslapd-allow-anonymous-access'
configuration setting was set to 'rootdse'. An anonymous user could
connect to the LDAP database and, if the search scope is set to BASE,
obtain access to information outside of the rootDSE. (CVE-2013-1897)

This issue was discovered by Martin Kosek of Red Hat.

This update also fixes the following bugs :

* Previously, the schema-reload plug-in was not thread-safe.
Consequently, executing the schema-reload.pl script under heavy load
could have caused the ns-slapd process to terminate unexpectedly with
a segmentation fault. Currently, the schema-reload plug-in is
re-designed so that it is thread-safe, and the schema-reload.pl script
can be executed along with other LDAP operations. (BZ#929107)

* An out of scope problem for a local variable, in some cases, caused
the modrdn operation to terminate unexpectedly with a segmentation
fault. This update declares the local variable at the proper place of
the function so it does not go out of scope, and the modrdn operation
no longer crashes. (BZ#929111)

* A task manually constructed an exact value to be removed from the
configuration if the 'replica-force-cleaning' option was used.
Consequently, the task configuration was not cleaned up, and every
time the server was restarted, the task behaved in the described
manner. This update searches the configuration for the exact value to
delete, instead of manually building the value, and the task does not
restart when the server is restarted. (BZ#929114)

* Previously, a NULL pointer dereference could have occurred when
attempting to get effective rights on an entry that did not exist,
leading to an unexpected termination due to a segmentation fault. This
update checks for NULL entry pointers and returns the appropriate
error. Now, attempts to get effective rights on an entry that does not
exist no longer causes crashes, and the server returns the appropriate
error message. (BZ#929115)

* A problem in the lock timing in the DNA plug-in caused a deadlock if
the DNA operation was executed with other plug-ins. This update moves
the release timing of the problematic lock, and the DNA plug-in does
not cause the deadlock. (BZ#929196)

All 389-ds-base users are advised to upgrade to these updated
packages, which contain backported patches to correct these issues.
After installing this update, the 389 server service will be restarted
automatically.

See also :

https://oss.oracle.com/pipermail/el-errata/2013-April/003411.html

Solution :

Update the affected 389-ds-base packages.

Risk factor :

Low / CVSS Base Score : 2.6
(CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N)
CVSS Temporal Score : 1.9
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Oracle Linux Local Security Checks

Nessus Plugin ID: 68806 ()

Bugtraq ID: 59026

CVE ID: CVE-2013-1897