IBM WebSphere MQ 7.5, 8.0 and 9.0 DoS Vulnerability

2017-12-08T00:00:00
ID OPENVAS:1361412562310113066
Type openvas
Reporter Copyright (C) 2017 Greenbone Networks GmbH
Modified 2018-11-29T00:00:00

Description

IBM WebSphere MQ 7.5, 8.0, and 9.0 could allow an authenticated user to insert messages with a corrupt RFH header into the channel which would cause it to restart.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_websphere_mq_dos_vuln.nasl 12576 2018-11-29 10:48:52Z cfischer $
#
# IBM WebSphere MQ 7.5, 8.0 and 9.0 DoS Vulnerability
#
# Authors:
# Jan Philipp Schulte <jan.schulte@greenbone.net>
#
# Copyright:
# Copyright (C) 2017 Greenbone Networks GmbH, https://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 as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# 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.
###############################################################################

if( description )
{
  script_oid("1.3.6.1.4.1.25623.1.0.113066");
  script_version("$Revision: 12576 $");
  script_tag(name:"last_modification", value:"$Date: 2018-11-29 11:48:52 +0100 (Thu, 29 Nov 2018) $");
  script_tag(name:"creation_date", value:"2017-12-08 14:11:12 +0100 (Fri, 08 Dec 2017)");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:P");

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

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

  script_cve_id("CVE-2017-1433");

  script_name("IBM WebSphere MQ 7.5, 8.0 and 9.0 DoS Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_ibm_websphere_mq_detect.nasl");
  script_mandatory_keys("ibm_websphere_mq/detected");

  script_tag(name:"summary", value:"IBM WebSphere MQ 7.5, 8.0, and 9.0 could allow an authenticated user to insert
messages with a corrupt RFH header into the channel which would cause it to restart.");

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

  script_tag(name:"affected", value:"IBM WebSphere MQ 7.5.0.0 through 7.5.0.8, 8.0.0.0 through 8.0.0.7 and 9.0.0.0
through 9.0.0.1");

  script_tag(name:"solution", value:"Update IBM WebSphere MQ to 8.0.0.8 or 9.0.0.2 respectively. For 7.5.0.X,
apply interim fix for APAR IT15943");

  script_xref(name:"URL", value:"http://www-01.ibm.com/support/docview.wss?uid=swg22005525");
  script_xref(name:"URL", value:"https://exchange.xforce.ibmcloud.com/vulnerabilities/127803");

  exit(0);
}

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

include( "host_details.inc" );
include( "version_func.inc" );

if (isnull(port = get_app_port(cpe: CPE)))
  exit(0);

if (!infos = get_app_version_and_location(cpe:CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos['version'];
path = infos['location'];

if( version_in_range( version: version, test_version: "7.5.0.0", test_version2: "7.5.0.8" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "7.5.0.8-IT15943", install_path: path );
  security_message( data: report, port: port );
  exit( 0 );
}

if( version_in_range( version: version, test_version: "8.0.0.0", test_version2: "8.0.0.7" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "8.0.0.8", install_path: path );
  security_message( data: report, port: port);
  exit( 0 );
}

if( version_in_range( version: version, test_version: "9.0.0.0", test_version2: "9.0.0.1" ) ) {
  report = report_fixed_ver ( installed_version: version, fixed_version: "9.0.0.2", install_path: path );
  security_message( data: report, port: port );
  exit( 0 );
}

exit( 99 );