code | #TRUSTED 4a6c0b0c2118abf4ac412cad54922afef41492c3efd208291f7eec27bf437efe4456307bb1f0a5ed319f3043980c2a650651c532f1c88e05b977ccab7f53da5bdcff4eccc0e93e5734f6d4cc6fd1ffa3747441b98ba13a38f54d923fcfe5ae275cad81a09139074a2f73a46e636a53f758e14e8ac9dda9239c4f8db24abadbe6bb6cca83632ad7c29e6191f088d541352f7b3673acaa675b8dd9e8fcc3fd6ddead67d59a35d49bb17e26fe9fdfd1e936b14a2d1146b8fd63e25886e96ecfcc0d846e7eb8364f02728ffc0665f48f28308378b2093cf433eeb29f09f68851e6aee58a8193e3189dcf1716e0714291f6f152baa3a9a82a7d2c04644208f082b3a20e53f1e2dbb5701ec9183b1508012b77d51ccfb16531514354c8dcb80d11075a81bdc6939f381add391c2de589238c8ee5b8df93727a7001e6cedeff580c37f42b81c61804c7422fe230f8cbec1d082df8e13ce4487e1d42c6ae486e56d24ed357952e8c7f0c9b773131499738ce5d486365e4c7d38f6f558ff071ca6454bfd88b0a52bee1a7a7476ac0f9c3c490ea433fedbeb7838e8347a3d2cc78b4027a795d8e1f6db12f2011ddb582d3a6968aea1bb59ef515d68022a83fb076ca34c982aa9420a91c467b33b968a1940bd9c30d472ada80bc5420a97d7587883b7f499071493efbba81520d5fefb58578480a75dee28d4652acc45e66c4bc122402d2a2
#
# (C) Tenable Network Security, Inc.
#
include('compat.inc');
if (description)
{
script_id(129810);
script_version("1.5");
script_cvs_date("Date: 2019/12/20");
script_cve_id("CVE-2019-12716");
script_xref(name:"CISCO-BUG-ID", value:"CSCvo42317");
script_xref(name:"CISCO-SA", value:"cisco-sa-20191002-cucm-xss-12716");
script_xref(name:"IAVA", value:"2019-A-0362");
script_name(english:"Cisco Unified Communications Manager Cross-Site Scripting (XSS) Vulnerability");
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 Unified Communications Manager is affected by a cross-site scripting
(XSS) vulnerability due to improper validation of user-supplied input before returning it to users. An unauthenticated,
remote attacker can exploit this, by convincing a user to click a specially crafted URL, to execute arbitrary script
code in a user's browser session.
Please see the included Cisco BIDs and Cisco Security Advisory for more information");
# https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20191002-cucm-xss-12716
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?84742ed9");
# https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvo42317
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?e3d6c168");
script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug ID
CSCvo42317");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
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:C/C:L/I:L/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-12716");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_cwe_id(79);
script_set_attribute(attribute:"vuln_publication_date", value:"2019/10/02");
script_set_attribute(attribute:"patch_publication_date", value:"2019/10/02");
script_set_attribute(attribute:"plugin_publication_date", value:"2019/10/11");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:unified_communications_manager");
script_set_attribute(attribute:"stig_severity", value:"I");
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_ucm_detect.nbin");
script_require_keys("Host/Cisco/CUCM/Version", "Host/Cisco/CUCM/Version_Display");
exit(0);
}
include('ccf.inc');
include('cisco_workarounds.inc');
product_info = cisco::get_product_info(name:'Cisco Unified Communications Manager');
vuln_ranges = [
{'min_ver' : '0.0', 'fix_ver' : '10.5.2.21900.13'},
{'min_ver' : '11.5', 'fix_ver' : '11.5.1.16900.16'},
{'min_ver' : '12.0', 'fix_ver' : '12.0.1.23900.9'},
{'min_ver' : '12.5', 'fix_ver' : '12.5.1.11900.146'}
];
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' , 'CSCvo42317',
'xss' , TRUE
);
cisco::check_and_report(
product_info:product_info,
workarounds:workarounds,
workaround_params:workaround_params,
reporting:reporting,
vuln_ranges:vuln_ranges
);
|