Lucene search

K
openvasCopyright (c) 2011 Greenbone Networks GmbHOPENVAS:801937
HistoryMay 18, 2011 - 12:00 a.m.

IBM solidDB RPC Test Commands Denial of Service Vulnerabilities

2011-05-1800:00:00
Copyright (c) 2011 Greenbone Networks GmbH
plugins.openvas.org
9

EPSS

0.08

Percentile

94.3%

This host is running IBM solidDB and is prone to multiple denial of service
vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_soliddb_rpc_test_svc_dos_vuln.nasl 7015 2017-08-28 11:51:24Z teissa $
#
# IBM solidDB RPC Test Commands Denial of Service Vulnerabilities
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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.
###############################################################################

tag_impact = "Successful exploitation will let remote unauthenticated attackers to crash
  an affected process or consume CPU resources, creating a denial of service
  condition.
  Impact Level: Application";
tag_affected = "IBM solidDB 4.5.x before 4.5.182, 6.0.x before 6.0.1069, 6.1.x,
  6.3.x before 6.3 FP8, and 6.5.x before 6.5 FP4";
tag_insight = "The flaws are caused by a NULL pointer error in the solidDB component when
  processing the 'rpc_test_svc_readwrite' and 'rpc_test_svc_done commands'
  commands sent to port 2315/TCP.";
tag_solution = "Apply the patches from below link,
  https://www-304.ibm.com/support/docview.wss?uid=swg21496106";
tag_summary = "This host is running IBM solidDB and is prone to multiple denial of service
  vulnerabilities.";

if(description)
{
  script_id(801937);
  script_version("$Revision: 7015 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-28 13:51:24 +0200 (Mon, 28 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-05-18 15:37:30 +0200 (Wed, 18 May 2011)");
  script_cve_id("CVE-2011-1208");
  script_bugtraq_id(47584);
  script_tag(name:"cvss_base", value:"7.8");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:C");
  script_name("IBM solidDB RPC Test Commands Denial of Service Vulnerabilities");
  script_xref(name : "URL" , value : "http://securitytracker.com/id?1025451");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/67019");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2011/1117");
  script_xref(name : "URL" , value : "http://www.zerodayinitiative.com/advisories/ZDI-11-142/");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("gb_ibm_soliddb_detect.nasl");
  script_require_ports("Services/soliddb", 1315);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


include("version_func.inc");

## Get solidDB default port
port = get_kb_item("Services/soliddb");
if(!port){
  port=1315;
}

## check the port status
if(!get_port_state(port)){
  exit(0);
}

## Get the version from kb
if(!ver = get_kb_item(string("soliddb/",port,"/version"))){
  exit(0);
}

version = eregmatch(pattern:"([0-9]+\.[0-9]+\.[0-9.]+)", string: ver);
if(version[1] != NULL){
  ver = version[1];
}

## Check the version less than 4.5.182
if(version_is_less(version:ver, test_version:"4.5.182"))
{
  security_message(port:port);
  exit(0);
}

## Check for the version 6.0.x before 6.0.1069
if(ver =~ "^6\.0\.*")
{
  if(version_is_less(version:ver, test_version:"6.0.1069"))
  {
    security_message(port:port);
    exit(0);
  }
}

## Check the version 6.1.x
if(ver =~ "^6\.1\.*")
{
  security_message(port:port);
  exit(0);
}

## Check the version 6.3.x before 6.3.47(06.30.0049)
if(ver =~ "^06\.3.*")
{
  if(version_is_less(version:ver, test_version:"06.30.0049"))
  {
    security_message(port:port);
    exit(0);
  }
}

## Check the version 6.5.x before 6.5.0.4
if(ver =~ "^6\.5\.*")
{
  if(version_is_less(version:ver, test_version:"6.5.0.4")){
    security_message(port:port);
  }
}

EPSS

0.08

Percentile

94.3%