Lucene search

K
nessusThis script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.CISCO-SA-ESA-SMA-WSA-XSS-BGG5WHOD_SWA.NASL
HistoryMay 24, 2024 - 12:00 a.m.

Cisco Secure Web Appliance XSS (cisco-sa-esa-sma-wsa-xss-bgG5WHOD)

2024-05-2400:00:00
This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
1
cisco
secure web appliance
xss
vulnerability
management interface
cisco asyncos software
remote attacker
user input
exploit
script code
sensitive information
security advisory

4.8 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

5.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

A vulnerability in the web-based management interface of Cisco AsyncOS Software for Cisco Secure Web Appliance could allow an authenticated, remote attacker to conduct an XSS attack against a user of the interface. This vulnerability is due to insufficient validation of user input. An attacker could exploit this vulnerability by persuading a user of an affected interface to click a crafted link. A successful exploit could allow the attacker to execute arbitrary script code in the context of the affected interface or access sensitive, browser-based information.

Please see the included Cisco BIDs and Cisco Security Advisory for more information.

Note that Nessus has not tested for these issues but has instead relied only on the application’s self-reported version number.

#TRUSTED 83df4c23f5526dbdfcf8809983d3e4b6ef2797d8090fcc21de36cf1d43f5ccea73053af0d30a8a9c216b58db8eaa8e485900dce283835923b77e40b0129e9d4f32d478db1b546923a222460c4437aafb4f3b209890addaaece5d0a4d6edf4ff696ad475776d4d8ce1f53b5be748ee5c849ec5be5fe27de522bf8231ab2f58b879f8a6d3bbce870593e431121d16f21a8040efd22fb5113a5d0b5b0203e74436d3e737d5f188182cf3ca9caf83cb42b106957798f2f568bd3b18db6c17a2fcb17877c6d2ecd3ed08393db20c3c55a1eb864658b4eaa423b3ab8f751f81953b057eb2ef714c1e2a47da04afa3083463e6e2ef564a993973370ef704fe3fed9462672741667e59fa6776797e19683d1df5740070dd9e174a9e71bcda49d3b57e920386eec83a7ba8c8637dee52070023a42c5ca791ae50cb51bf66f0e10cfa75c5e931042cdd43c7837de3e613cab203806cdaeefbc367a9531ce5dd60a0ffb9f03fe980b212b91384179b25b7dd19186772efc5a5a56826cfbfd10ff126c4e9dba4f884e7899696a4a7245c9bd201951ea7bc14e6e0f970f09349923cf061ec9e145a00ae0ddcba9ab31d2eafe23dfc15edb1b99b670b65cb7271c6a93ec2a6a3e5c4f3f66c3f6367e4315a5f64a3a3c78ccb98837c7b4a1063306b0fa742c7f3399f50f6acaaed99f3d98b93171288b16fc634d73076d038809c6ca12a9891d61
#TRUST-RSA-SHA256 a40af75c0d78f9eda8198d8faacc88a5ba827801140afb405f99ed1745c9f344c710b7709f3466fce1a9fb42f581c258a9cf9b68526882b65542edae70bef2b443760928f26c494e1ffab99b4ed44f453e32e077075ae9e9afc1aadc77ef7304154b5cb9d2859ca544d9f705e2d4e6e06d04f314b575c55309939f894a999c1abffe17307190ae623614ebde16ed9b8080314f9a7a881b3fcb8d31a1aa2e80bed1bb60cb86bc4f04c1a8c261bfd9b338521254448fa4852a53f3a93e57d0ae6370e6deb887885f14bb5a9766c91d0649243a8fd339de5e8dd3ccda3d326bb1a8ae152cef213f6e30ec08c296831373f75a8dd5075db92bd81bf96733483326f8fd435a01980e26659f75462dded702ce6d3be51c38db1d4fd8ed17221eb7d4554093c1af99565be0408d43d72e59bddb5b1bf862d37a6f9ec8592f325f664924f058d92884fc8c869cc0f1723d404bef471f5876198c469eabd5c5655565ef25ddedc033412e42dc6dfd74b455f4f8e776154e61ed9dd336d9889a51a6be3c02de73536415d28a45921f127bd7a8afa191fb4e28e3a37061f2676d01bbabd1df5b15056415be3093fd8de3028474982dafebf726ad38dbde30dc8e4140c6f690c93d758bed807974d34f0e4d5be7cd22d395109a09f75842233bb2603d3d30c40cf0441ccfbf82c3a3e106ee5cc6740a15ff200fd256d73101ee7d5ac472ef21
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(197881);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/05/27");

  script_cve_id("CVE-2024-20256");
  script_xref(name:"CISCO-BUG-ID", value:"CSCwe88788");
  script_xref(name:"CISCO-BUG-ID", value:"CSCwe91887");
  script_xref(name:"CISCO-SA", value:"cisco-sa-esa-sma-wsa-xss-bgG5WHOD");
  script_xref(name:"IAVA", value:"2024-A-0294");

  script_name(english:"Cisco Secure Web Appliance XSS (cisco-sa-esa-sma-wsa-xss-bgG5WHOD)");

  script_set_attribute(attribute:"synopsis", value:
"The remote device is missing a vendor-supplied security patch.");
  script_set_attribute(attribute:"description", value:
"A vulnerability in the web-based management interface of Cisco AsyncOS Software for Cisco Secure Web Appliance could 
allow an authenticated, remote attacker to conduct an XSS attack against a user of the interface. This vulnerability 
is due to insufficient validation of user input. An attacker could exploit this vulnerability by persuading a user of 
an affected interface to click a crafted link. A successful exploit could allow the attacker to execute arbitrary 
script code in the context of the affected interface or access sensitive, browser-based information.

Please see the included Cisco BIDs and Cisco Security Advisory for more information.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  # https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-esa-sma-wsa-xss-bgG5WHOD
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eaf46cc2");
  script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwe88788");
  script_set_attribute(attribute:"see_also", value:"https://bst.cloudapps.cisco.com/bugsearch/bug/CSCwe91887");
  script_set_attribute(attribute:"solution", value:
"Upgrade to the relevant fixed version referenced in Cisco bug IDs CSCwe88788 and CSCwe91887");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:M/C:P/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:H/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-2024-20256");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(79);

  script_set_attribute(attribute:"vuln_publication_date", value:"2024/05/15");
  script_set_attribute(attribute:"patch_publication_date", value:"2024/05/15");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/05/24");

  script_set_attribute(attribute:"plugin_type", value:"combined");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:cisco:web_security_appliance");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:cisco:web_security_appliance");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:web_security_appliance");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:cisco:asyncos");
  script_set_attribute(attribute:"stig_severity", value:"II");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CISCO");

  script_copyright(english:"This script is Copyright (C) 2024 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('ccf.inc');

var product_info = cisco::get_product_info(name:'Cisco Web Security Appliance (WSA)');
var fix = '';

if (product_info.version =~ "^([0-9]\.)|(1[0-3]\.)|(14\.0)")
{
  var vuln_ranges = [ { 'min_ver' : '0.0', 'fix_ver' : '14.5.2.011'} ];
  fix = '14.5.2-011';
}
else if (product_info.version =~ "^14\.5")
{
  var vuln_ranges = [ { 'min_ver' : '14.5', 'fix_ver' : '14.5.2.011'} ];
  fix = '14.5.2-011';
}
else if (product_info.version  =~ "^15\.0")
{
  var vuln_ranges = [ { 'min_ver' : '15.0','fix_ver' : '15.0.0.355'} ];
  fix = '15.0.0-355';
}
else
  audit(AUDIT_HOST_NOT, 'affected');

var reporting = make_array(
  'port'          , 0,
  'severity'      , SECURITY_WARNING,
  'version'       , product_info['version'],
  'bug_id'        , 'CSCwe88788, CSCwe91887',
  'flags'         , {'xss':TRUE},
  'fix'           , fix,
  'disable_caveat', TRUE
);

cisco::check_and_report(
  product_info:product_info,
  reporting:reporting,
  vuln_ranges:vuln_ranges
);
VendorProductVersionCPE
ciscoasyncoscpe:/o:cisco:asyncos
ciscoweb_security_appliancecpe:/o:cisco:web_security_appliance
ciscoweb_security_appliancecpe:/a:cisco:web_security_appliance
ciscoweb_security_appliancecpe:/h:cisco:web_security_appliance

4.8 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

5.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

Related for CISCO-SA-ESA-SMA-WSA-XSS-BGG5WHOD_SWA.NASL