IBM INotes and Domino Cross-site Scripting Vulnerability - June16

2016-06-03T00:00:00
ID OPENVAS:1361412562310808111
Type openvas
Reporter Copyright (C) 2016 Greenbone Networks GmbH
Modified 2018-09-26T00:00:00

Description

This host is installed with IBM Domino and is prone to cross-site scripting vulnerability

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_inotes_domino_xss_vuln_june16.nasl 11614 2018-09-26 07:39:28Z asteins $
#
# IBM INotes and Domino Cross-site Scripting Vulnerability - June16
#
# Authors:
# Kashinath T <tkashinath@secpod.com>
#
# Copyright:
# Copyright (C) 2016 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.
###############################################################################

CPE = "cpe:/a:ibm:lotus_domino";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.808111");
  script_version("$Revision: 11614 $");
  script_cve_id("CVE-2014-0913");
  script_bugtraq_id(67297);
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"$Date: 2018-09-26 09:39:28 +0200 (Wed, 26 Sep 2018) $");
  script_tag(name:"creation_date", value:"2016-06-03 17:28:31 +0530 (Fri, 03 Jun 2016)");
  script_name("IBM INotes and Domino Cross-site Scripting Vulnerability - June16");

  script_tag(name:"summary", value:"This host is installed with IBM Domino and
  is prone to cross-site scripting vulnerability");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The flaw is due to insufficient validation
  of user supplied input via an e-mail message.");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker
  to execute commands as the logged-in user and/or expose user personal data.");

  script_tag(name:"affected", value:"IBM iNotes and Domino 8.5.3 FP6 before
  IF2 and 9.0.1 before FP1");

  script_tag(name:"solution", value:"Upgrade to IBM Domino 9.0.1 FP1
  or 8.5.3 FP6 IF2.
  For more information refer to,
  http://www-01.ibm.com/support/docview.wss?uid=swg21671981");

  script_tag(name:"solution_type", value:"VendorFix");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");

  script_xref(name:"URL", value:"http://www-01.ibm.com/support/docview.wss?uid=swg21671981");

  script_copyright("Copyright (C) 2016 Greenbone Networks GmbH");
  script_category(ACT_GATHER_INFO);
  script_family("Web application abuses");
  script_dependencies("gb_lotus_domino_detect.nasl");
  script_mandatory_keys("Domino/Version");
  exit(0);
}

include("version_func.inc");
include("revisions-lib.inc"); # Used in get_highest_app_version
include("host_details.inc");

if(!domVer = get_highest_app_version(cpe:CPE)){
  exit(0);
}

domVer1 = ereg_replace(pattern:"FP", string:domVer, replace: ".");

if(version_in_range(version:domVer1, test_version:"8.5", test_version2:"8.5.3.6"))
{
  fix = "8.5.3 FP6 IF2";
  VULN = TRUE;
}

else if(version_is_equal(version:domVer1, test_version:"9.0.1"))
{
  fix = "9.0.1 FP1";
  VULN = TRUE;
}

if(VULN)
{
  report = report_fixed_ver(installed_version:domVer, fixed_version:fix);
  security_message(data:report, port:0);
  exit(0);
}