Lucene search

K
openvasCopyright (C) 2003 Digital Defense Inc.OPENVAS:136141256231011203
HistoryNov 03, 2005 - 12:00 a.m.

Motorola Vanguard Without Password (Telnet)

2005-11-0300:00:00
Copyright (C) 2003 Digital Defense Inc.
plugins.openvas.org
28

9.5 High

AI Score

Confidence

High

0.015 Low

EPSS

Percentile

87.0%

This device is a Motorola Vanguard router and has no password
set. An attacker can reconfigure this device without providing any authentication.

# SPDX-FileCopyrightText: 2003 Digital Defense Inc.
# 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.11203");
  script_version("2023-07-07T05:05:26+0000");
  script_tag(name:"last_modification", value:"2023-07-07 05:05:26 +0000 (Fri, 07 Jul 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  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-1999-0507", "CVE-1999-0508");
  script_name("Motorola Vanguard Without Password (Telnet)");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2003 Digital Defense Inc.");
  script_family("Default Accounts");
  script_dependencies("telnetserver_detect_type_nd_version.nasl", "gb_default_credentials_options.nasl");
  script_require_ports("Services/telnet", 23);
  script_mandatory_keys("telnet/banner/available");
  script_exclude_keys("default_credentials/disable_default_account_checks");

  script_tag(name:"solution", value:"Please set a strong password for this device.");

  script_tag(name:"summary", value:"This device is a Motorola Vanguard router and has no password
  set. An attacker can reconfigure this device without providing any authentication.");

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

  exit(0);
}

if(get_kb_item("default_credentials/disable_default_account_checks"))
  exit(0);

include("telnet_func.inc");
include("misc_func.inc");
include("port_service_func.inc");
include("dump.inc");

function greprecv( socket, pattern ) {

  local_var buffer, cnt, _r;

  buffer = "";
  cnt = 0;
  while( 1 ) {
    _r = recv_line( socket:socket, length:4096 );
    if( strlen( _r ) == 0 ) return FALSE;
    buffer = string( buffer, _r );
    if( ereg( pattern:pattern, string:_r ) ) return buffer;
    cnt++;
    if( cnt > 1024 ) return FALSE;
  }
}

port = telnet_get_port( default:23 );

banner = telnet_get_banner( port:port );
if ( ! banner || "OK" >!< banner ) exit( 0 );

soc = open_sock_tcp( port );

if( soc ) {

  buf = greprecv( socket:soc, pattern:".*OK.*" );
  if( ! buf ) {
    close( soc );
    exit( 0 );
  }

  send( socket:soc, data:string( "atds0\r\n" ) );
  buf = greprecv( socket:soc, pattern:".*Password.*" );

  if( ! buf ) {
    close( soc );
    exit( 0 );
  }

  send( socket:soc, data:string( "\r\n" ) );
  buf = greprecv( socket:soc, pattern:".*Logout.*" );
  if( buf ) security_message( port:port );
  close( soc );
}

exit( 99 );

9.5 High

AI Score

Confidence

High

0.015 Low

EPSS

Percentile

87.0%

Related for OPENVAS:136141256231011203