Allied Telesyn Router/Switch Default Password - Nessus

Critical   Plugin ID: 18414

This page contains detailed information about the Allied Telesyn Router/Switch Default Password Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 18414
Name: Allied Telesyn Router/Switch Default Password
Filename: Allied_Telesyn_telnet.nasl
Vulnerability Published: N/A
This Plugin Published: 2005-06-03
Last Modification Time: 2015-09-24
Plugin Version: 1.13
Plugin Type: remote
Plugin Family: Misc.
Dependencies: None

Vulnerability Information


Severity: Critical
Vulnerability Published: N/A
Patch Published: N/A
CVE [?]: CVE-1999-0508
CPE [?]: N/A
Default Account Vulnerability: True

Synopsis

The remote network device can be accessed with default credentials.

Description

The remote device appears to be an Allied Telesyn router or switch that can be accessed using default credentials. An attacker could leverage this issue to gain administrative access to the affected device. This password could also be potentially used to gain other sensitive information about the network from the device.

Solution

Telnet to the device and change the default password.

Public Exploits


Target Network Port(s): 23
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Allied Telesyn Router/Switch Default Password vulnerability:

  1. Metasploit: auxiliary/scanner/snmp/snmp_login
    [SNMP Community Scanner]
  2. Metasploit: auxiliary/scanner/snmp/snmp_login
    [SNMP Community Login Scanner]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:NA (None)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:10.0 (High)

Go back to menu.

Plugin Source


This is the Allied_Telesyn_telnet.nasl nessus plugin source code. This script is Copyright (C) 2005-2015 Charles Thier

#
#
# This script was written by Charles Thier <[email protected]>
#
# GPLv2
#

# Changes by Tenable:
# - only attempt to login if the policy allows it (10/25/11)

include("compat.inc");

if(description)
{
    script_id(18414);
    script_version("$Revision: 1.13 $");
    script_cvs_date("$Date: 2015/09/24 20:59:28 $");
    script_cve_id("CVE-1999-0508");
    script_name(english:"Allied Telesyn Router/Switch Default Password");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote network device can be accessed with default credentials." );
 script_set_attribute(attribute:"description", value:
"The remote device appears to be an Allied Telesyn router or switch
that can be accessed using default credentials.  An attacker could
leverage this issue to gain administrative access to the affected
device.  This password could also be potentially used to gain other
sensitive information about the network from the device." );
 script_set_attribute(attribute:"see_also", value:"http://www.phenoelit-us.org/dpl/dpl.html" );
 script_set_attribute(attribute:"solution", value:
"Telnet to the device and change the default password." );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'SNMP Community Scanner');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
 script_set_attribute(attribute:"plugin_publication_date", value: "2005/06/03");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"exploited_by_nessus", value:"true");
  script_set_attribute(attribute:"default_account", value:"true");
  script_end_attributes();

 
   summary["english"] = "Logs into Allied Telesyn routers and switches with default password";
   script_summary(english:summary["english"]);
 
   script_category(ACT_GATHER_INFO);
 
   script_copyright(english:"This script is Copyright (C) 2005-2015 Charles Thier");
   script_family(english:"Misc.");
   script_require_ports(23);
 
   exit(0);
}


#
# The script code starts here
#

include("telnet_func.inc");
usrname = "manager";
password = "friend";

port = 23;
if(get_port_state(port))
{
        if ( get_kb_item("global_settings/supplied_logins_only") ) exit(0, "Policy is configured to prevent trying default user accounts");
        tnb = get_telnet_banner(port:port);
        if ( ! tnb ) exit(0);

        if ("TELNET session" >< tnb)
        {
                soc = open_sock_tcp(port);
                if(soc)
                {
                        answer = recv(socket:soc, length:4096);
                        if("ogin:" >< answer)
                        {
                                send(socket:soc, data:string(usrname, "\r\n"));
                                answer = recv(socket:soc, length:4096);
                                send(socket:soc, data:string(password, "\r\n"));
                                answer = recv(socket:soc, length:4096);
                                if("Manager" >< answer)
                                {
                                  report = string(
                                    "\n",
                                    "Nessus was able to gain access using the following credentials :\n",
                                    "\n",
                                    "  User     : ", usrname, "\n",
                                    "  Password : ", password, "\n"
                                  );
                                  security_hole(port:port, extra:report);
                                }
                        }
                close(soc);
                }

        }
}

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/Allied_Telesyn_telnet.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\Allied_Telesyn_telnet.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/Allied_Telesyn_telnet.nasl

Go back to menu.

How to Run


Here is how to run the Allied Telesyn Router/Switch Default Password as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Misc. plugin family.
  6. On the right side table select Allied Telesyn Router/Switch Default Password plugin ID 18414.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl Allied_Telesyn_telnet.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a Allied_Telesyn_telnet.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - Allied_Telesyn_telnet.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state Allied_Telesyn_telnet.nasl -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 10747 - 3Com Superstack 3 Switch Multiple Default Accounts
  • 18415 - Bay Networks Accelar 1200 Switch Default Password (password) for 'usrname' Account
  • 18413 - Allied Telesyn Router/Switch Web Interface Default Password
  • 17638 - Avaya P330 Stackable Switch Default Password
  • 10961 - AirConnect Default Password
  • 11202 - Enhydra Multiserver Default Password
  • 10820 - F5 Device Default Support Password
  • 10995 - Sun JavaServer Default Admin Password
  • 10998 - Shiva LanRover Blank Password
  • 10999 - Linksys Router Default Password
  • 11203 - Motorola Vanguard with No Password (telnet check)
  • 10798 - Symantec pcAnywhere Service Unrestricted Access
  • 10778 - SiteScope Web Service Unpassworded Access
  • 11004 - Ipswitch WhatsUp Gold Default Admin Account
  • 30213 - MikroTik RouterOS with Blank Password (telnet check)
  • 40354 - OpenWrt Router with a Blank Password (telnet check)
  • 10345 - Cayman DSL Router Unauthenticated Access
  • 10483 - PostgreSQL Default Unpassworded Account
  • 10500 - Shiva Integrator Default Password

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file Allied_Telesyn_telnet.nasl version $Revision: 1.13 $. For more plugins, visit the Nessus Plugin Library.

Go back to menu.