code | #TRUSTED 0075e08e0c43291daa8758f09bdeddf0247674978942e425edb5da75f7fd9d91a1bce939885dbefdc386357a21986928897175a0c98b14879779425d1b666419552607ea5a3ea2f4b3952300254fc0cbe4a30589849aec2134c8f1d6e88353dc89a9e1fb3a5c7d6071ef7ac16246d2ce9566ac10e7b0f5e103561650dc14ca2bc61f383447e5370fa1f3f15e19d2eed2cfdc82b67d4eacd8c7aed9d8f9d4c3150bbbee3c868fa812f150b29a0058caf0638a0e282b40812513053e97b4b697f082b5bb2210364c3500421be36f548f1c4a8b84e407d01a359310f94da5e48538bc5178cc7b0ac036c1b97e324dc846e5a294b2ad0718bc2ed0116da29f2569ab11e5cc248376339e75decc38aae19d481713962992288c779ab5a61af225f6e82bdcd6c0daaec5b537c57c4e8858e6cb039d1390b142acd2f902cb37eb6059056b0c3e9f9d124483e2ce3d6bdf0950deefe2b4438cb035ec9486a529253bc96b0bbcf5cab871fb07e63cfc52ec0fff775fdef9d1840bf4ea6fe5839247ba0337ad3b5578a2619dc74545fc8548e989c13909f6ac810182d018b1f852df18314e77e7c7dca103853b99bd7dd90c1e6931e046af62017c97cba8d8e4d2622c784e459d385eae3b0308718cfe72e06a4a3c6a93959f7d409eab74c0915d325bc05a0501aa0981a50407f904ec1a7ac81a4eae59750c563d1da67cc055dcd1086ccc
#
# (C) Tenable Network Security, Inc.
#
include('compat.inc');
if (description)
{
script_id(132042);
script_version("1.4");
script_cvs_date("Date: 2019/12/16");
script_cve_id("CVE-2018-0255");
script_xref(name:"CISCO-BUG-ID", value:"CSCvc96405");
script_xref(name:"CISCO-SA", value:"cisco-sa-20180418-iess");
script_name(english:"Cisco Industrial Ethernet Switches Device Manager CSRF (cisco-sa-20180418-iess)");
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 on Cisco Industrial Ethernet (IE) Switches is affected by a
cross-site request forgery (CSRF) vulnerability due to insufficient CSRF protection by the device manager web
interface. An unauthenticated, remote attacker can exploit this, by persuading a user of the interface to follow a
malicious link or visit an attacker-controlled website, in order to submit arbitrary requests to an affected device via
the device manager web interface with the privileges of the user.
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-20180418-iess
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?46ece8db");
script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvc96405");
script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug ID(s) CSCvc96405.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
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:N/UI:R/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-2018-0255");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"vuln_publication_date", value:"2018/04/19");
script_set_attribute(attribute:"patch_publication_date", value:"2018/04/19");
script_set_attribute(attribute:"plugin_publication_date", value:"2019/12/13");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:ios");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CISCO");
script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("cisco_ios_version.nasl");
script_require_keys("Host/Cisco/IOS/Version", "Host/Cisco/IOS/Model", "Settings/ParanoidReport");
exit(0);
}
include('cisco_workarounds.inc');
include('ccf.inc');
include('audit.inc');
if (report_paranoia < 2) audit(AUDIT_PARANOID);
product_info = cisco::get_product_info(name:'Cisco IOS');
model = product_info.model;
if (model !~ "IE-2000(U?)-" && model !~ "IE-[34]0[01]0-" && model !~ "IE-5000-")
audit(AUDIT_HOST_NOT, 'an affected model');
vuln_ranges = [
{'min_ver' : '0.0', 'fix_ver' : '15.2(6)E1'}
];
workarounds = make_list(CISCO_WORKAROUNDS['no_workaround']);
workaround_params = make_list();
reporting = make_array(
'port' , 0,
'severity' , SECURITY_WARNING,
'version' , product_info['version'],
'bug_id' , 'CSCvc96405'
);
cisco::check_and_report(
product_info:product_info,
workarounds:workarounds,
workaround_params:workaround_params,
reporting:reporting,
vuln_ranges:vuln_ranges,
switch_only:TRUE
);
|