Lantronix Devices Default Credentials (Telnet)
🗓️ 12 Jul 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType
openvas🔗 plugins.openvas.org👁 58 Views
# 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.107329");
script_version("2026-06-30T06:56:06+0000");
script_tag(name:"last_modification", value:"2026-06-30 06:56:06 +0000 (Tue, 30 Jun 2026)");
script_tag(name:"creation_date", value:"2018-07-12 18:29:24 +0200 (Thu, 12 Jul 2018)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"qod_type", value:"remote_vul");
script_tag(name:"solution_type", value:"Mitigation");
script_cve_id("CVE-2018-14018");
script_name("Lantronix Devices Default Credentials (Telnet)");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("Default Accounts");
script_dependencies("gb_lantronix_device_consolidation.nasl",
"gb_default_credentials_options.nasl");
script_mandatory_keys("lantronix_device/telnet/detected");
script_require_ports("Services/telnet", 9999);
script_exclude_keys("default_credentials/disable_default_account_checks");
script_tag(name:"summary", value:"Lantronix devices have a default useraccount 'root' with
password 'system' which grants admin rights access via Telnet.");
script_tag(name:"vuldetect", value:"Tries to login using default credentials via Telnet.");
script_tag(name:"impact", value:"Using the command 'set privilege' followed by entering the
password 'system' enables the attacker to gather information, change configurations, telnet to
other hosts etc.");
script_tag(name:"affected", value:"Lantronix devices with Telnet access enabled.");
script_tag(name:"solution", value:"Consult your documentation how to change default credentials
and/or disable remote access to the device.");
exit(0);
}
if(get_kb_item("default_credentials/disable_default_account_checks"))
exit(0);
include("host_details.inc");
include("telnet_func.inc");
port = get_kb_item( "lantronix_device/telnet/port" );
if( ! get_kb_item("lantronix_device/telnet/" + port + "/access") )
exit ( 0 );
if( ! soc = open_sock_tcp( port ) )
exit( 0 );
username = "root";
password = "system";
res = recv( socket:soc, length:2048, timeout:10 );
if( res && "prompt for assistance" >< res && "Username>" >< res ) {
send( socket:soc, data:username + '\r\n' );
res = recv( socket:soc, length:2048, timeout:10 );
if( res && res =~ "Local_[^>]+>" ) {
send( socket:soc, data:'set privileged\r\n' );
res = recv( socket:soc, length:2048, timeout:10 );
if( res && "Password>" >< res ) {
send( socket:soc, data:'system\r\n\r\n' );
res = recv( socket:soc, length:2048, timeout:10 );
if( res && res =~ "Local_[^>]+>>" ) { # The >> indicates the root shell
vuln = TRUE;
set_kb_item(name:"lantronix_device/telnet/" + port + "/full_access", value:TRUE );
}
}
}
}
telnet_close_socket( socket:soc, data:res );
if( vuln ) {
report = "It was possible to gain unrestricted Telnet access with username '" + username + "' and password '" + password + "'.";
security_message( port:port, data:report );
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
30 Jun 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8