IBM Global Security Kit 7 < 7.0.4.47 / 8 < 8.0.50.13 DoS

2014-02-04T00:00:00
ID IBM_GSKIT_CVE-2013-6329.NASL
Type nessus
Reporter This script is Copyright (C) 2014-2018 Tenable Network Security, Inc.
Modified 2020-04-02T00:00:00

Description

The remote host has a version of IBM Global Security Kit prior to 7.0.4.47 / 8.0.50.13. It is, therefore, affected by a denial of service vulnerability. An attacker can exploit this vulnerability by sending a specially crafted SSL request to cause an application crash or hang.

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

include("compat.inc");

if (description)
{
  script_id(72283);
  script_version("1.5");
  script_cvs_date("Date: 2018/07/12 19:01:15");

  script_cve_id("CVE-2013-6329");
  script_bugtraq_id(64249);

  script_name(english:"IBM Global Security Kit 7 < 7.0.4.47 / 8 < 8.0.50.13 DoS");
  script_summary(english:"Checks the version of GSKit");

  script_set_attribute(
    attribute:"synopsis",
    value:
"The remote host has a library installed that is affected by a denial of
service vulnerability."
  );
  script_set_attribute(
    attribute:"description",
    value:
"The remote host has a version of IBM Global Security Kit prior to
7.0.4.47 / 8.0.50.13. It is, therefore, affected by a denial of
service vulnerability. An attacker can exploit this vulnerability by
sending a specially crafted SSL request to cause an application crash
or hang."
  );
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21662362");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21659716");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21659837");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21659548");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21663362");
  script_set_attribute(attribute:"see_also", value:"https://www-304.ibm.com/support/docview.wss?uid=swg21660286");
  script_set_attribute(attribute:"see_also", value:"https://www-304.ibm.com/support/docview.wss?uid=swg21660436");
  script_set_attribute(attribute:"see_also", value:"https://www-304.ibm.com/support/docview.wss?uid=swg21660440");
  script_set_attribute(attribute:"solution", value:"Upgrade to GSKit 7.0.4.47 / 8.0.50.13 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/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:"2013/12/11");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/01/02");
  script_set_attribute(attribute:"plugin_publication_date", value:"2014/02/04");

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

  script_category(ACT_GATHER_INFO);
  script_family(english:"General");

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

  script_dependencies("ibm_gskit_installed.nasl", "ibm_gskit_installed_nix.nbin");
  script_require_keys("installed_sw/IBM GSKit", "Settings/ParanoidReport");

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("install_func.inc");

if (report_paranoia < 2) audit(AUDIT_PARANOID);

app = "IBM GSKit";
install = get_single_install(app_name:app, exit_if_unknown_ver:TRUE);

version = install['version'];
path = install['path'];
fix = NULL;

if (version =~ '^7\\.0\\.' && ver_compare(ver:version, fix:'7.0.4.47') < 0)
  fix = '7.0.4.47';
else if (version =~ '^8\\.0\\.' && ver_compare(ver:version, fix:'8.0.50.13') < 0)
  fix = '8.0.50.13';
else
  audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);

# Default to Linux unless the RPM is not set
port = 0;
if (isnull(install['RPM']))
{
  port = get_kb_item('SMB/transport');
  if (!port) port = 445;
}

if (report_verbosity > 0)
{
  report =
  '\n  Path              : ' + path +
  '\n  Installed version : ' + version +
  '\n  Fixed version     : ' + fix + '\n';

  security_hole(port:port, extra:report);
}
else security_hole(port);