IBM General Parallel File System 3.4 < 3.4.0.27 / 3.5 < 3.5.0.16 DoS (SLES)

2014-02-14T00:00:00
ID IBM_GPFS_ISG3T1020542_SLES.NASL
Type nessus
Reporter Tenable
Modified 2017-07-05T00:00:00

Description

A version of IBM General Parallel File System (GPFS) prior to 3.4.0.27 / 3.5.0.16 is installed on the remote host. It is, therefore, affected by a denial of service vulnerability. An authenticated, non-root attacker can exploit this vulnerability by passing certain arguments to 'setuid' commands, potentially causing the GPFS daemon to crash.

                                        
                                            #
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(72507);
  script_version("$Revision: 1.4 $");
  script_cvs_date("$Date: 2017/07/05 20:44:48 $");

  script_cve_id("CVE-2014-0834");
  script_bugtraq_id(65297);
  script_osvdb_id(102765);

  script_name(english:"IBM General Parallel File System 3.4 < 3.4.0.27 / 3.5 < 3.5.0.16 DoS (SLES)");
  script_summary(english:"Checks version of GPFS package");

  script_set_attribute(
    attribute:"synopsis",
    value:
"A clustered file system on the remote host is affected by a denial of
service vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"A version of IBM General Parallel File System (GPFS) prior to 3.4.0.27
/ 3.5.0.16 is installed on the remote host.  It is, therefore, affected
by a denial of service vulnerability.  An authenticated, non-root
attacker can exploit this vulnerability by passing certain arguments to
'setuid' commands, potentially causing the GPFS daemon to crash."
  );
  # https://www.ibm.com/blogs/psirt/ibm-general-parallel-file-system-denial-of-service-vulnerability-cve-2014-0834/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?89d5f36a");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=isg3T1020542");
  script_set_attribute(attribute:"solution", value:"Upgrade to GPFS 3.4.0.27 / 3.5.0.16 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:ND/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2014/01/24");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/01/24");
  script_set_attribute(attribute:"plugin_publication_date", value:"2014/02/14");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:ibm:general_parallel_file_system");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"SuSE Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2014-2017 Tenable Network Security, Inc.");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("rpm.inc");

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/SuSE/release");
if (isnull(release) || release !~ "^SLES") audit(AUDIT_OS_NOT, "SLES");
if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "ppc" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SLES", cpu);

flag = 0;
# 3.4 Checks.
fix1 = "gpfs.base-3.4.0-27";
if (rpm_check(release:"SLES10", reference:fix1)) flag++;
else if (rpm_check(release:"SLES11", reference:fix1)) flag++;

# 3.5 Checks. Only run if 3.4 is not installed.
else if (!rpm_exists(rpm:"gpfs.base-3.4.0-", release:release))
{
  fix2 = "gpfs.base-3.5.0-16";
  if (rpm_check(release:"SLES10", reference:fix2)) flag++;
  else if (rpm_check(release:"SLES11", reference:fix2)) flag++;
}

if (flag)
{
  if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
  else security_warning(0);
  exit(0);
}
else audit(AUDIT_HOST_NOT, "affected");