IBM WebSphere Service Registry and Repository 7.0 < 7.0.0.5 Multiple Vulnerabilities

2015-01-20T00:00:00
ID WEBSPHERE_SERVICE_REGISTRY_AND_REPOSITORY_7005.NASL
Type nessus
Reporter Tenable
Modified 2018-08-06T00:00:00

Description

The version of IBM WebSphere Service Registry and Repository (WSRR) is version 7.0 prior to 7.0.0.5. It is therefore, affected by multiple vulnerabilities :

  • An unspecified DOM based cross-site scripting (XSS) vulnerability in the WSRR web UI. (CVE-2014-6132)

  • WSSR web interface issues a cookie that is not declared SSL only. (CVE-2014-6153)

  • An unspecified information disclosure flaw related to access control checks when a retrieve depth is 0. (CVE-2014-6177)

  • An unspecified HTML injection vulnerability related to the User-Agent header in the WSRR web UI. (CVE-2014-6180)

  • An unspecified information disclosure flaw related to the lack of access controls to contained objects. (CVE-2014-6181)

  • Improper enforcement of object access control restrictions. (CVE-2014-6186)

  • An unspecified cross-site request forgery (XSRF) vulnerability. (CVE-2014-6187)

  • Unspecified cross-site scripting (XSS) vulnerabilities. (CVE-2014-6188)

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

include("compat.inc");

if (description)
{
  script_id(80856);
  script_version("1.7");
  script_cvs_date("Date: 2018/08/06 14:03:16");

  script_cve_id(
    "CVE-2014-6132",
    "CVE-2014-6153",
    "CVE-2014-6177",
    "CVE-2014-6180",
    "CVE-2014-6181",
    "CVE-2014-6186",
    "CVE-2014-6187",
    "CVE-2014-6188"
  );
  script_bugtraq_id(
    71899,
    71900,
    71901,
    71902,
    71903,
    71904,
    71905,
    71906
  );
  script_xref(name:"IAVB", value:"2015-B-0003");

  script_name(english:"IBM WebSphere Service Registry and Repository 7.0 < 7.0.0.5 Multiple Vulnerabilities");
  script_summary(english:"Checks the version of WebSphere Service Registry and Repository.");

  script_set_attribute(attribute:"synopsis", value:
"The remote host has a web application installed that is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of IBM WebSphere Service Registry and Repository (WSRR) is
version 7.0 prior to 7.0.0.5. It is therefore, affected by multiple
vulnerabilities :

  - An unspecified DOM based cross-site scripting (XSS)
    vulnerability in the WSRR web UI. (CVE-2014-6132)

  - WSSR web interface issues a cookie that is not declared
    SSL only. (CVE-2014-6153)

  - An unspecified information disclosure flaw related to
    access control checks when a retrieve depth is 0.
    (CVE-2014-6177)

  - An unspecified HTML injection vulnerability related to
    the User-Agent header in the WSRR web UI.
    (CVE-2014-6180)

  - An unspecified information disclosure flaw related to
    the lack of access controls to contained objects.
    (CVE-2014-6181)

  - Improper enforcement of object access control
    restrictions. (CVE-2014-6186)

  - An unspecified cross-site request forgery (XSRF)
    vulnerability. (CVE-2014-6187)

  - Unspecified cross-site scripting (XSS) vulnerabilities.
    (CVE-2014-6188)");
  script_set_attribute(attribute:"see_also", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21693381");
  script_set_attribute(attribute:"solution", value:
"Upgrade to IBM WebSphere Service Registry and Repository Fix Pack
7.0.0.5 and contact the vendor for solutions to CVE-2014-6132,
CVE-2014-6153, CVE-2014-6186, and CVE-2014-6188.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:N/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_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

  script_set_attribute(attribute:"vuln_publication_date", value:"2014/12/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2014/12/19");
  script_set_attribute(attribute:"plugin_publication_date", value:"2015/01/20");

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

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

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

  script_dependencies("websphere_service_registry_repository_installed.nasl");
  script_require_keys("installed_sw/IBM WebSphere Service Registry and Repository");

  exit(0);
}

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

app = 'IBM WebSphere Service Registry and Repository';
fix = '7.0.0.5';

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

if (version =~ '^7\\.0\\.' && ver_compare(ver:version, fix:fix) < 0)
{
  set_kb_item(name:"www/0/XSS", value:TRUE);
  set_kb_item(name:"www/0/XSRF", value:TRUE);
  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_warning(port:port, extra:report);
  }
  else security_warning(port);
  exit(0);
}
audit(AUDIT_INST_PATH_NOT_VULN, app, version, path);