Lucene search
+L

Netis Router No Authentication Vulnerability (HTTP)

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

Netis Router No Authentication Vulnerability, Remote access without credential

Refs
Code
# 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

CPE_PREFIX = "cpe:/o:netis-systems:";

if( description )
{
  script_oid("1.3.6.1.4.1.25623.1.0.113304");
  script_version("2025-11-25T05:40:35+0000");
  script_tag(name:"last_modification", value:"2025-11-25 05:40:35 +0000 (Tue, 25 Nov 2025)");
  script_tag(name:"creation_date", value:"2018-11-15 10:40:22 +0100 (Thu, 15 Nov 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_name("Netis Router No Authentication Vulnerability (HTTP)");

  # nb: No attacking request (just access a few default pages) so no ACT_ATTACK
  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Default Accounts");
  # nb: No need to disable via default_credentials/disable_default_account_checks or
  # gb_default_credentials_options.nasl because this isn't doing any login...
  script_dependencies("gb_netis_router_consolidation.nasl");
  script_mandatory_keys("netis/router/http/detected");
  script_require_ports("Services/www", 8080);

  script_tag(name:"summary", value:"Netis Routers do not require authentication by default.");

  script_tag(name:"vuldetect", value:"Checks if the web interface is accessible without
  authentication.");

  script_tag(name:"impact", value:"Without a password, any remote attacker can access the device
  with administrative privileges.");

  script_tag(name:"solution", value:"In the 'Advanced' Settings, go to 'System Tools' -> 'Password'
  and set a username and a secure password.");

  script_xref(name:"URL", value:"http://www.netis-systems.com/Home/info/id/2.html");
  script_xref(name:"URL", value:"http://www.netis-systems.com/Business/info/id/2.html");

  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("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");

if (!infos = get_app_port_from_cpe_prefix(cpe: CPE_PREFIX, service: "www", first_cpe_only: TRUE))
  exit(0);

cpe = infos["cpe"];
port = infos["port"];

if (!get_app_location(cpe: cpe, port: port, nofork: TRUE))
  exit(0);

url_one = "/script/netcore.js";
url_two = "/config/config.js";

buf_one = http_get_cache(port: port, item: url_one);
buf_two = http_get_cache(port: port, item: url_two);

if (buf_one =~ "^HTTP/1\.[01] 200" && "var netcore" >< buf_one && "Basic realm" >!< buf_one &&
    "WWW-Authenticate" >!< buf_one &&
    buf_two =~ "^HTTP/1\.[01] 200" && buf_two =~ 'name\\s*:\\s*"management"') {
  report = "It was possible to access the admin interface without login credentials.";
  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