Motorola Vanguard Without Password (Telnet)
🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2003 Digital Defense Inc.Type
openvas🔗 plugins.openvas.org👁 45 Views
# 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 );
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
07 Jul 2023 00:00Current
9.5High risk
Vulners AI Score9.5