Lucene search
+L

Kronos 4500 Time Clock Default Credentials (Telnet)

🗓️ 11 Mar 2020 00:00:00Reported by Copyright (C) 2020 Simmons Foods, Inc.Type 
openvas
 openvas
🔗 plugins.openvas.org👁 306 Views

Kronos 4500 Time Clock Default Credentials (Telnet) vulnerability allows remote attackers to gain access to sensitive information or modify the system configuration

Code
# SPDX-FileCopyrightText: 2020 Simmons Foods, 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-or-later

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.112710");
  script_version("2023-08-01T13:29:10+0000");
  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_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 2023)");
  script_tag(name:"creation_date", value:"2020-03-11 14:52:00 +0000 (Wed, 11 Mar 2020)");

  script_tag(name:"qod_type", value:"remote_vul");

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

  script_name("Kronos 4500 Time Clock Default Credentials (Telnet)");

  script_category(ACT_ATTACK);

  script_family("Default Accounts");
  script_copyright("Copyright (C) 2020 Simmons Foods, Inc.");
  script_dependencies("telnet.nasl", "telnetserver_detect_type_nd_version.nasl", "gb_default_credentials_options.nasl");
  script_require_ports("Services/telnet", 23);
  script_mandatory_keys("telnet/vxworks/detected");
  script_exclude_keys("default_credentials/disable_default_account_checks");

  script_tag(name:"summary", value:"Kronos 4500 Time Clock has default credentials set.");

  script_tag(name:"impact", value:"This issue may be exploited by a remote attacker to gain
  access to sensitive information or modify the system configuration.");

  script_tag(name:"vuldetect", value:"Connects to the telnet service and tries to login with default credentials.");

  script_tag(name:"solution", value:"Set or change the password for 'SuperUser' or, if possible, disable the default account.");

  exit(0);
}

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

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

port = telnet_get_port( default:23 );
banner = telnet_get_banner( port:port );
if( ! banner || "VxWorks login:" >!< banner )
  exit( 0 );

soc = open_sock_tcp( port );
if( ! soc )
  exit( 0 );

user = "SuperUser";
pass = "2323098716";

recv = recv( socket:soc, length:512, timeout:60 );

if( "VxWorks login:" >< recv ) {

  send( socket:soc, data:user + '\r\n' );
  recv = recv( socket:soc, length:128, timeout:60 );

  if( "Password:" >< recv ) {
    send( socket:soc, data:pass + '\r\n' );
    recv = recv( socket:soc, length:512, timeout:60 );

    if( "->" >< recv ) {
      send( socket:soc, data:'whoami\r\n' );
      recv2 = recv( socket:soc, length:512, timeout:60 );
      telnet_close_socket( socket:soc, data:recv );

      if( user >< recv2 ) {
        report = 'It was possible to login using the following credentials:\n\n' + user + ':' + pass;
        security_message( port:port, data:report );
        exit( 0 );
      }
    }
  }
}

telnet_close_socket( socket: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