6.9 Medium
AI Score
Confidence
Low
10 High
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
0.004 Low
EPSS
Percentile
72.4%
The remote host is a Zyxel router with its default password set.
# SPDX-FileCopyrightText: 2005 Michel Arboi
# 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.17304");
script_version("2023-08-03T05:05:16+0000");
script_tag(name:"last_modification", value:"2023-08-03 05:05:16 +0000 (Thu, 03 Aug 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/6671");
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_cve_id("CVE-2001-1135", "CVE-1999-0571");
script_name("Zyxel Router Default Credentials (HTTP)");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2005 Michel Arboi");
script_family("Default Accounts");
script_dependencies("gb_get_http_banner.nasl", "gb_default_credentials_options.nasl");
script_mandatory_keys("ZyXEL-RomPager/banner");
script_require_ports("Services/www", 80);
script_exclude_keys("default_credentials/disable_default_account_checks");
script_tag(name:"solution", value:"Change the password immediately.");
script_tag(name:"summary", value:"The remote host is a Zyxel router with its default password set.");
script_tag(name:"impact", value:"An attacker could connect to the web interface and reconfigure it.");
script_tag(name:"solution_type", value:"Mitigation");
script_tag(name:"qod_type", value:"remote_vul");
exit(0);
}
if(get_kb_item("default_credentials/disable_default_account_checks"))
exit(0);
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("misc_func.inc");
port = http_get_port(default:80);
banner = http_get_remote_headers(port:port);
if(!banner || "ZyXEL-RomPager" >!< banner)
exit(0);
res = http_get_cache(item:"/", port:port);
if(!res || res !~ "^HTTP/1\.[01] +401 ")
exit(0);
req = http_get_req(port:port, url:"/", add_headers:make_array("Authorization", "Basic YWRtaW46MTIzNA=="));
res = http_send_recv(port:port, data:req);
if(res =~ "^HTTP/1\.[01] +200 ") {
security_message(port:port);
exit(0);
}
exit(99);