According to its model number and firmware revision, the remote Zyxel Router is affected by a command injection vulnerability within nslookup funciton of the diagnostic tools. An authenticated, remote attacker can exploit this, via various crafted HTTP commands, to execute arbitrary commands.
#%NASL_MIN_LEVEL 80900
#
# (C) Tenable, Inc.
#
include('compat.inc');
if (description)
{
script_id(185418);
script_version("1.2");
script_set_attribute(attribute:"plugin_modification_date", value:"2023/11/09");
script_cve_id("CVE-2017-6884");
script_xref(name:"EDB-ID", value:"41782");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2023/10/09");
script_name(english:"Zyxel Router Command Injection Vulnerability (CVE-2017-6884)");
script_set_attribute(attribute:"synopsis", value:
"The remote router is affected by a command injection vulnerability.");
script_set_attribute(attribute:"description", value:
"According to its model number and firmware revision, the remote Zyxel Router is affected by a command injection
vulnerability within nslookup funciton of the diagnostic tools. An authenticated, remote attacker can exploit this, via
various crafted HTTP commands, to execute arbitrary commands.");
# https://www.zyxel.com/global/en/support/security-advisories/zyxel-security-advisory-for-command-injection-vulnerability-in-emg2926-q10a-ethernet-cpe
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2b6a48e7");
script_set_attribute(attribute:"solution", value:
"Contact vendor for remediation instructions.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-6884");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/04/02");
script_set_attribute(attribute:"patch_publication_date", value:"2017/04/02");
script_set_attribute(attribute:"plugin_publication_date", value:"2023/11/09");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"x-cpe:/h:zyxel");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2023 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("zyxel_router_detect_getbasicinfo.nbin");
script_require_keys("www/zyxel_router");
script_require_ports("Services/www", 80, 443);
exit(0);
}
include('http.inc');
include('vcf_extras.inc');
var app_info = vcf::zyxel_router::get_app_info();
var constraints = [{
'models' : make_list('EMG2926-Q10A'),
'equal' : vcf::zyxel_router::transform_ver(firmware:'V1.00(AAQT.4)b8'),
'fixed_display' : 'See Vendor Advisory'
}];
vcf::zyxel_router::check_version_and_report(
app_info : app_info,
constraints : constraints,
severity : SECURITY_HOLE
);
Vendor | Product | Version | CPE |
---|---|---|---|
zyxel | x-cpe:/h:zyxel |