Lucene search

K
openvasCopyright (C) 2018 Greenbone AGOPENVAS:1361412562310100075
HistoryOct 23, 2018 - 12:00 a.m.

echo Service Reporting (TCP + UDP)

2018-10-2300:00:00
Copyright (C) 2018 Greenbone AG
plugins.openvas.org
207

6.6 Medium

AI Score

Confidence

Low

0.875 High

EPSS

Percentile

98.6%

An echo Service is running at this Host via TCP and/or UDP.

# SPDX-FileCopyrightText: 2018 Greenbone AG
# 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.100075");
  script_version("2023-09-12T05:05:19+0000");
  script_tag(name:"last_modification", value:"2023-09-12 05:05:19 +0000 (Tue, 12 Sep 2023)");
  script_tag(name:"creation_date", value:"2018-10-23 14:01:33 +0200 (Tue, 23 Oct 2018)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_cve_id("CVE-1999-0103", "CVE-1999-0635");
  script_name("echo Service Reporting (TCP + UDP)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Useless services");
  script_dependencies("echo.nasl", "echo_udp.nasl");
  script_mandatory_keys("echo_tcp_udp/detected");

  script_tag(name:"summary", value:"An echo Service is running at this Host via TCP and/or UDP.");

  script_tag(name:"vuldetect", value:"Checks whether an echo service is exposed on the target
  host.");

  script_tag(name:"insight", value:"The echo service is an Internet protocol defined in RFC 862. It
  was originally proposed for testing and measurement of round-trip times in IP networks. While
  still available on most UNIX-like operating systems, testing and measurement is now performed with
  the Internet Control Message Protocol (ICMP), using the applications ping and traceroute.");

  script_tag(name:"solution", value:"Disable the echo Service.");

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

  exit(0);
}

include("port_service_func.inc");

default_ports = make_list( 7 );

tcp_ports = service_get_ports( default_port_list:default_ports, proto:"echo" );
foreach tcp_port( tcp_ports ) {
  if( ! get_kb_item( "echo_tcp/" + tcp_port + "/detected" ) )
    continue;

  VULN = TRUE;
  security_message( port:tcp_port );
}

udp_ports = service_get_ports( default_port_list:default_ports, proto:"echo", ipproto:"udp" );
foreach udp_port( udp_ports ) {
  if( ! get_kb_item( "echo_udp/" + udp_port + "/detected" ) )
    continue;

  VULN = TRUE;
  security_message( port:udp_port, protocol:"udp" );
}

if( VULN )
  exit( 0 );
else
  exit( 99 );

6.6 Medium

AI Score

Confidence

Low

0.875 High

EPSS

Percentile

98.6%