code | #TRUSTED 8a5af6f410a3c73345a929ded4a5348a88e91b790fc342cab3be0c5c09a6033c8bf79f31ccc55a5bb708c995a005dfbb063feec78e9404b4c8564f57a897035d5ed7da72dfd7dfc7c24e1135ab6bf309f21b32dd7b94e40d50f02074e6e3e09fea9185be22bc042f899732f4f62af20017a04ab5ca1059b2914b46d11062fb06356adaac9972b76b80494e15db93f2604008e2d29b77b3c62427d9be224e24d8d814573f68561324dc72defb03efe108e8fbdcf44a7d9a2a09068bdfeeda1612f7983539c1715dd13c6f0408ce9d3036595d6bf44c0550bc9644916deb10cefac1fa32d365870eff2b33c7328588d6d1d1adb8568e9cb410469c71049e3cfdbd2c84e482eedb7a3d4ae28a438207646a42640186a41f6af9ee3d08ca47f00813ce8df6d0e42feef4e370a8565ad95a00fc9be5dfc8d99a91e2271938af4ed532f42c5ed4f4cf74e0c90d4faaedb29eb77b95982c38cb14a5a75347ff7fa671ce661fe5de1b7d1bcfc58dfdcc19a9fb19becb8be0e56033dd2bc39bc764e424f55882c1e0673b1eefaf4db005bae036a178161e0a06275f7ec63d974ec7a9ddc3ca7072cca514ae26d7fe2acece022000e6ce515b8cc2ce27f2aecfc8ab87099fd68b74ae05066d1d8ca1d91f1cfd6b1d9b8497ce27dd80072d3e5d44af0ca72c739e9dbfbc9dfdd26f5be82d760a26c3e24a75d665706c8723537e349be62ff4
#
# (C) Tenable Network Security, Inc.
#
include('compat.inc');
if (description)
{
script_id(131327);
script_version("1.10");
script_set_attribute(attribute:"plugin_modification_date", value:"2020/04/29");
script_cve_id("CVE-2017-12226");
script_bugtraq_id(101063);
script_xref(name:"CISCO-BUG-ID", value:"CSCvd73746");
script_xref(name:"CISCO-SA", value:"cisco-sa-20170927-ngwc");
script_name(english:"Cisco IOS XE Software for Cisco 5760 WLC, Cisco Catalyst 4500E Supervisor Engine 8-E, and Cisco
NGWC 3850 GUI Privilege Escalation (cisco-sa-20170927-ngwc)");
script_set_attribute(attribute:"synopsis", value:
"The remote device is missing a vendor-supplied security patch.");
script_set_attribute(attribute:"description", value:
"According to its self-reported version, Cisco IOS XE Software is affected by a privilege escalation vulnerability in
the web-based Wireless Controller GUI for Cisco 5760 Wireless LAN Controllers, Cisco Catalyst 4500E Supervisor Engine
8-E (Wireless) Switches, and Cisco New Generation Wireless Controllers (NGWC) 3850. This is due to incomplete input
validation of HTTP requests by the affected GUI, if the GUI connection state or protocol changes. An authenticated,
remote attacker can exploit this by authenticating with the Wireless Controller GUI as a Lobby Administrator user of an
affected device and then changing the state or protocol for their connection to the GUI. Successful exploitation of this
vulnerability would allow an attacker to elevate their privilege level to administrator to gain full control of the
affected device.
Please see the included Cisco BIDs and Cisco Security Advisory for more information.
Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
# https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170927-ngwc
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?28a05a9f");
script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvd73746");
script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug ID(s) CSCvd73746.");
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:U/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:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-12226");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/09/28");
script_set_attribute(attribute:"patch_publication_date", value:"2017/09/27");
script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/27");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios_xe");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CISCO");
script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("cisco_ios_xe_version.nasl");
script_require_keys("Host/Cisco/IOS-XE/Version", "Host/Cisco/IOS-XE/Model");
exit(0);
}
include('audit.inc');
include('cisco_workarounds.inc');
include('ccf.inc');
product_info = cisco::get_product_info(name:'Cisco IOS XE Software');
model = get_kb_item_or_exit('Host/Cisco/IOS-XE/Model');
device_model = get_kb_item("Host/Cisco/device_model");
# Affected models:
# Cisco Catalyst 4500E Supervisor Engine 8-E (Wireless) Switches
# Cisco 5760 Wireless LAN Controllers
# Cisco New Generation Wireless Controllers (NGWC) 3850
vuln = FALSE;
show_ver = get_kb_item("Host/Cisco/show_ver");
if (device_model =~ "cat" &&
((product_info.model =~ "([^0-9]|^)45[0-9]{2}E" && "WS-X45-SUP8-E" >< show_ver) ||
product_info.model =~ "([^0-9]|^)38[0-9]{2}")
)
vuln = TRUE;
# In advisory example, 5760 has 5700 so just look for 57xx.
# On Software Downloads page, 5760 is the only 5700 Series WLC
else if (product_info.model =~ "([^0-9]|^)57[0-9]{2} Series Wireless LAN Controller")
vuln = TRUE;
if (!vuln)
audit(AUDIT_HOST_NOT, "affected");
version_list = make_list(
'3.7.0E',
'3.7.1E',
'3.7.2E',
'3.7.3E',
'3.7.4E',
'3.7.5E'
);
workarounds = make_list(CISCO_WORKAROUNDS['no_workaround']);
workaround_params = make_list();
reporting = make_array(
'port' , 0,
'severity' , SECURITY_HOLE,
'version' , product_info['version'],
'bug_id' , 'CSCvd73746'
);
cisco::check_and_report(
product_info:product_info,
reporting:reporting,
vuln_versions:version_list,
workarounds:workarounds,
workaround_params:workaround_params
);
|