Lucene search
+L

Lantronix Devices Unprotected Access (HTTP)

🗓️ 22 Nov 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 237 Views

The Lantronix UDS1100 Device Server web interface is accessible via an unprotected HTTP connection. Successful exploitation allows an attacker to configure and control the device. Ensure that the Lantronix web access is protected via strong login credentials

Code
# SPDX-FileCopyrightText: 2017 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.112133");
  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:"2017-11-22 11:46:00 +0100 (Wed, 22 Nov 2017)");
  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_name("Lantronix Devices Unprotected Access (HTTP)");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Default Accounts");
  script_dependencies("gb_lantronix_device_consolidation.nasl",
                      "gb_default_credentials_options.nasl");
  script_mandatory_keys("lantronix_device/http/detected");
  script_exclude_keys("default_credentials/disable_default_account_checks");

  script_tag(name:"summary", value:"The Lantronix device web interface is accessible via an
  unprotected HTTP connection.");

  script_tag(name:"vuldetect", value:"Checks if credentials are required to access the device via
  HTTP.");

  script_tag(name:"impact", value:"Successful exploitation allows an attacker to configure and
  control the device.");

  script_tag(name:"solution", value:"Ensure that the Lantronix device web interface is protected via
  strong login credentials.");

  exit(0);
}

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

# nb: Don't exit via islocalhost() or the net_setting_is_* functions here as such a system should be
# definitely access protected.

include("misc_func.inc");
include("http_func.inc");

if( ! port = get_kb_item( "lantronix_device/http/port" ) )
  exit( 0 );

# Older devices are using a java based GUI and returning a 400
# exit for those here
url = "/secure/welcome.htm";
req = http_get( item:url, port:port );
res = http_send_recv( port:port, data:req, bodyonly:FALSE );
if( ! res || res !~ "^HTTP/1\.[01] 401" )
  exit( 0 );

# Any user and empty password
userpass   = "root:";
userpass64 = base64( str:userpass );

added_headers = make_array( "Authorization", "Basic " + userpass64 );
req = http_get_req( port:port, url:"/secure/menu.htm", add_headers:added_headers, accept_header:"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" );
res = http_send_recv( port:port, data:req, bodyonly:FALSE );

if( res && res =~ "^HTTP/1\.[01] 200" && "Device Server Home Page" >< res && "Configure IP address and hostname" >< res &&
    "Configure global server settings" >< res && "Apply Settings" >< res && "Apply Defaults" >< res ) {
  report = "The Lantronix device web interface configuration could be accessed with the 'root' username and an empty 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
237