Lucene search

K
openvasCopyright (c) 2013 Greenbone Networks GmbHOPENVAS:870983
HistoryApr 19, 2013 - 12:00 a.m.

RedHat Update for 389-ds-base RHSA-2013:0742-01

2013-04-1900:00:00
Copyright (c) 2013 Greenbone Networks GmbH
plugins.openvas.org
15

0.005 Low

EPSS

Percentile

77.6%

Check for the Version of 389-ds-base

###############################################################################
# OpenVAS Vulnerability Test
#
# RedHat Update for 389-ds-base RHSA-2013:0742-01
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (c) 2013 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

include("revisions-lib.inc");
tag_insight = "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 n ...

  Description truncated, for more information please check the Reference URL";


tag_affected = "389-ds-base on Red Hat Enterprise Linux Server (v. 6),
  Red Hat Enterprise Linux Workstation (v. 6)";
tag_solution = "Please Install the Updated Packages.";

if(description)
{
  script_id(870983);
  script_version("$Revision: 6687 $");
  script_tag(name:"last_modification", value:"$Date: 2017-07-12 11:46:43 +0200 (Wed, 12 Jul 2017) $");
  script_tag(name:"creation_date", value:"2013-04-19 09:57:26 +0530 (Fri, 19 Apr 2013)");
  script_cve_id("CVE-2013-1897");
  script_tag(name:"cvss_base", value:"2.6");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:N/A:N");
  script_name("RedHat Update for 389-ds-base RHSA-2013:0742-01");

  script_xref(name: "RHSA", value: "2013:0742-01");
  script_xref(name: "URL" , value: "https://www.redhat.com/archives/rhsa-announce/2013-April/msg00019.html");
  script_summary("Check for the Version of 389-ds-base");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2013 Greenbone Networks GmbH");
  script_family("Red Hat Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/rhel", "ssh/login/rpms");
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("pkg-lib-rpm.inc");

release = get_kb_item("ssh/login/release");

res = "";
if(release == NULL){
  exit(0);
}

if(release == "RHENT_6")
{

  if ((res = isrpmvuln(pkg:"389-ds-base", rpm:"389-ds-base~1.2.11.15~14.el6_4", rls:"RHENT_6")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"389-ds-base-debuginfo", rpm:"389-ds-base-debuginfo~1.2.11.15~14.el6_4", rls:"RHENT_6")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"389-ds-base-libs", rpm:"389-ds-base-libs~1.2.11.15~14.el6_4", rls:"RHENT_6")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if (__pkg_match) exit(99); # Not vulnerable.
  exit(0);
}