Lucene search

K
openvasCopyright (c) 2011 Greenbone Networks GmbHOPENVAS:880743
HistoryAug 09, 2011 - 12:00 a.m.

CentOS Update for rgmanager CESA-2009:1339 centos5 i386

2011-08-0900:00:00
Copyright (c) 2011 Greenbone Networks GmbH
plugins.openvas.org
6

0.0004 Low

EPSS

Percentile

8.6%

Check for the Version of rgmanager

###############################################################################
# OpenVAS Vulnerability Test
#
# CentOS Update for rgmanager CESA-2009:1339 centos5 i386
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (c) 2011 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 rgmanager package contains the Red Hat Resource Group Manager, which
  provides high availability for critical server applications in the event of
  system downtime.

  Multiple insecure temporary file use flaws were discovered in rgmanager and
  various resource scripts run by rgmanager. A local attacker could use these
  flaws to overwrite an arbitrary file writable by the rgmanager process
  (i.e. user root) with the output of rgmanager or a resource agent via a
  symbolic link attack. (CVE-2008-6552)
  
  This update also fixes the following bugs:
  
  * clulog now accepts '-' as the first character in messages.
  
  * if expire_time is 0, max_restarts is no longer ignored.
  
  * the SAP resource agents included in the rgmanager package shipped with
  Red Hat Enterprise Linux 5.3 were outdated. This update includes the most
  recent SAP resource agents and, consequently, improves SAP failover
  support.
  
  * empty PID files no longer cause resource start failures.
  
  * recovery policy of type 'restart' now works properly when using a
  resource based on ra-skelet.sh.
  
  * samba.sh has been updated to kill the PID listed in the proper PID file.
  
  * handling of the '-F' option has been improved to fix issues causing
  rgmanager to crash if no members of a restricted failover domain were
  online.
  
  * the number of simultaneous status checks can now be limited to prevent
  load spikes.
  
  * forking and cloning during status checks has been optimized to reduce
  load spikes.
  
  * rg_test no longer hangs when run with large cluster configuration files.
  
  * when rgmanager is used with a restricted failover domain it will no
  longer occasionally segfault when some nodes are offline during a failover
  event.
  
  * virtual machine guests no longer restart after a cluster.conf update.
  
  * nfsclient.sh no longer leaves temporary files after running.
  
  * extra checks from the Oracle agents have been removed.
  
  * vm.sh now uses libvirt.
  
  * users can now define an explicit service processing order when
  central_processing is enabled.
  
  * virtual machine guests can no longer start on 2 nodes at the same time.
  
  * in some cases a successfully migrated virtual machine guest could restart
  when the cluster.conf file was updated.
  
  * incorrect reporting of a service being started when it was not started
  has been addressed.
  
  As well, this update adds the following enhancements:
  
  * a startup_wait option has been added to the MySQL resource agent.
  
  * services can now be prioritized.
  
  * rgmanager now checks to see if it has been killed by the OOM killer and
  if so, reboots the node.
  
  Users of rgmanager are advised to upgrade to this updated package, which
  resolves these issues and adds these enhancements.";
tag_solution = "Please Install the Updated Packages.";

tag_affected = "rgmanager on CentOS 5";


if(description)
{
  script_xref(name : "URL" , value : "http://lists.centos.org/pipermail/centos-announce/2009-September/016154.html");
  script_id(880743);
  script_version("$Revision: 6653 $");
  script_tag(name:"last_modification", value:"$Date: 2017-07-10 13:46:53 +0200 (Mon, 10 Jul 2017) $");
  script_tag(name:"creation_date", value:"2011-08-09 08:20:34 +0200 (Tue, 09 Aug 2011)");
  script_tag(name:"cvss_base", value:"6.9");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
  script_xref(name: "CESA", value: "2009:1339");
  script_cve_id("CVE-2008-6552");
  script_name("CentOS Update for rgmanager CESA-2009:1339 centos5 i386");

  script_summary("Check for the Version of rgmanager");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("CentOS Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/centos", "ssh/login/rpms");
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  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 == "CentOS5")
{

  if ((res = isrpmvuln(pkg:"rgmanager", rpm:"rgmanager~2.0.52~1.el5.centos", rls:"CentOS5")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

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