code | #TRUSTED 327343f19df5546f4609547f9211a76bed72e66af0943318ac07fb3d418a27a4f8fee49da81db86a71efab5c89ac69093306909e94e67d88d023ad6f62f8ea68481b5a0b7edb368189e4c4d1b2d7174a71097f7217ac966460216b5a95471b47037201a5e040445ed08b0f31b631b45caa569a0c67635108a2ebdda9cc4504a5674305d6057c7b0536709388143e96665a06f83c8b444da8206e02035e58221fe052b0c49be1dc2d91619cadf2ef388d2615e7ed767773e80d090f7878a77913a31194a8d449b7d726fadbb9ee6fef980b32680d7e72d41d1d9ddb34e64ee44c9cd1cdff5a57d44bfd8a72eff9a19f78bb9e0411f006b2c1af81531765cd4cc499f1e650aa0fc157bddc2ff27af3fa43b7cd52ee86906f3d4fd2b992446f529d888b58b78ee5f06ca414aaae8089de6d4917df05bfc43ef6909bf1d533efc03e400829a4603e3ec2bc2ce398349d1ece09789596222b88061f6c8220d19bd321ec4d5139bdaf1d57f4aac482cac998e8e96d4ea32a2fce922c802020b961fccd1f5c8ca90f470001f9f41d7e19302deb3bf85c55f0d2c1a7ad3e6f4227ebd2672c341fbe63c036bacac2daa3a7e3d6f6f2b6a9175dc5d404254c3afcd6da9805c7f7cc739e62da6dd0c1cf01503391233ac3e8f5997169b8fdef7d0a2dcc5eb6641a62da653cc70089f6268484d0acb3249f2e85d6797fb4f6378befdc3d9dff
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(108404);
script_version("1.7");
script_cvs_date("Date: 2019/11/08");
script_cve_id("CVE-2018-0087");
script_bugtraq_id(103407);
script_xref(name:"CISCO-BUG-ID", value:"CSCvf74281");
script_xref(name:"CISCO-SA", value:"cisco-sa-20180307-wsa");
script_name(english:"Cisco Web Security Appliance FTP Authentication Bypass Vulnerability");
script_summary(english:"Checks the Cisco Web Security Appliance (WSA) version.");
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, the remote Cisco Web Security
Appliance (WSA) device is affected by a FTP authentication bypass
vulnerability, due to inccorect validation of credentials. A remote
attacker could potentially log into the FTP server without a valid
password.");
# https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180307-wsa
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e607a8a1");
script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvf74281");
script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version 10.5.2-042.");
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:H/PR:N/UI:N/S:U/C:L/I:L/A:L");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-0087");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"vuln_publication_date", value:"2018/03/07");
script_set_attribute(attribute:"patch_publication_date", value:"2018/03/07");
script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/16");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:web_security_appliance");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CISCO");
script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("cisco_wsa_version.nasl");
script_require_keys("Host/AsyncOS/Cisco Web Security Appliance/DisplayVersion", "Host/AsyncOS/Cisco Web Security Appliance/Version");
exit(0);
}
include("audit.inc");
include("cisco_workarounds.inc");
include("ccf.inc");
product_info = cisco::get_product_info(name:"Cisco Web Security Appliance (WSA)");
vuln_list = [
{'min_ver' : '10.5.1.0', 'fix_ver' : '10.5.2.042'}
];
workarounds = make_list(CISCO_WORKAROUNDS['AsyncOS FTP']);
workaround_params = make_list();
reporting = make_array(
'port' , 0,
'severity' , SECURITY_WARNING,
'version' , product_info['display_version'],
'fix' , '10.5.2-042'
);
cisco::check_and_report(product_info:product_info, workarounds:workarounds, workaround_params:workaround_params, reporting:reporting, vuln_ranges:vuln_list);
|