IBM Tivoli Storage FlashCopy Manager for VMware 3.1.x < 3.1.1.3 / 3.2.x < 3.2.0.6 / 4.1.x < 4.1.3.0 XSS

2015-10-09T00:00:00
ID TIVOLI_STORAGE_FLASHCOPY_MANAGER_VMWARE_CVE-2015-1988.NASL
Type nessus
Reporter Tenable
Modified 2018-08-01T00:00:00

Description

The version of IBM Tivoli Storage FlashCopy Manager for VMware installed on the remote host is affected by a cross-site scripting (XSS) vulnerability, due to improper validation of input before returning it to users. An unauthenticated, remote attacker can exploit this, via a specially crafted link, to execute script code in the user's browser session.

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

include("compat.inc");

if (description)
{
  script_id(86323);
  script_version("1.7");
  script_cvs_date("Date: 2018/08/01 17:36:12");

  script_cve_id("CVE-2015-1988");
  script_bugtraq_id(76947);

  script_name(english:"IBM Tivoli Storage FlashCopy Manager for VMware 3.1.x < 3.1.1.3 / 3.2.x < 3.2.0.6 / 4.1.x < 4.1.3.0 XSS");
  script_summary(english:"Checks version of Tivoli Storage FlashCopy Manager for VMware.");

  script_set_attribute(attribute:"synopsis", value:
"A backup application installed on the remote host is affected by a
cross-site scripting vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of IBM Tivoli Storage FlashCopy Manager for VMware
installed on the remote host is affected by a cross-site scripting
(XSS) vulnerability, due to improper validation of input before
returning it to users. An unauthenticated, remote attacker can exploit
this, via a specially crafted link, to execute script code in the
user's browser session.");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21967532");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Tivoli Storage FlashCopy Manager for VMware version
3.1.1.3 / 3.2.0.6 / 4.1.3.0 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  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:"2015/09/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2015/09/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2015/10/09");

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

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("tivoli_storage_flashcopy_manager_installed_linux.nbin");
  script_require_keys("installed_sw/Tivoli Storage FlashCopy Manager");

  exit(0);
}

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

app = 'Tivoli Storage FlashCopy Manager';

get_install_count(app_name:app, exit_if_zero:TRUE);

install = get_single_install(app_name:app, exit_if_unknown_ver:TRUE);
version = install["version"];
path = install["path"];
hypervisor = install["Hypervisor"];

app += " for " + hypervisor;

if (hypervisor != "VMware")
  audit(AUDIT_INST_VER_NOT_VULN, app, version);

if (version =~ "^3\.1\.")
  fix = "3.1.1.3";
else if (version =~ "^3\.2\.")
  fix = "3.2.0.6";
else if (version =~ "^4\.1\.")
  fix = "4.1.3.0";
else
  audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);

if (ver_compare(ver:version, fix:fix, strict:FALSE) >= 0)
  audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);

set_kb_item(name:'www/0/XSS', value:TRUE);

if (report_verbosity > 0)
{
  report =
    '\n  Hypervisor        : ' + hypervisor +
    '\n  Path              : ' + path +
    '\n  Installed version : ' + version +
    '\n  Fixed version     : ' + fix + '\n';
  security_warning(port:0, extra:report);
}
else security_warning(port:0);