XIv5.7.2 - Jquery version 1.11.2 has cross-site script vuln
Posted: Wed Aug 26, 2020 5:07 pm
Trying to resolve a cross site vulnerability in NagiosXI v5.7.2-2 that our security scanner picked up on. I don't have much time to fix it.
Looks like Nagios uses several different versions of jquery. Our security scan points out that the jquery version at the following location is vulnerable to a cross-site scripting attack and recommends updating to at least v3.5.0.
http://nagios-server/nagiosxi/includes/ ... 1.2.min.js
The following forum post suggests that there are some jquery versions in "includes/js/jquery" that may not be required for most of NagiosXI's functionality.
https://support.nagios.com/forum/viewto ... 16&t=59326
What is the most expedient way to resolve this? I have just upgraded to XI v5.7.2-2 because I was told that it would resolve the cross-site vulnerability issues our scans were showing. Was this jquery version supposed to be deleted as part of the upgrade?
Here are the jquery versions I found.. no idea which ones I need and which ones I don't.
[jquery]# find /usr/local/nagiosxi/html/includes/js/jquery/ -name 'jquery-*'
/usr/local/nagiosxi/html/includes/js/jquery/jquery-3.5.1.min.js
/usr/local/nagiosxi/html/includes/js/jquery/css/smoothness/jquery-ui-1.9.0.custom.min.css
/usr/local/nagiosxi/html/includes/js/jquery/css/smoothness/jquery-ui.custom.min.css
/usr/local/nagiosxi/html/includes/js/jquery/jquery-ui-1.9.0.custom.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-1.12.4.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-migrate-3.0.0.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-ui-1.12.1.custom.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-migrate-1.2.1.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-ui-timepicker-addon.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-migrate-1.4.1.min.js
Looks like Nagios uses several different versions of jquery. Our security scan points out that the jquery version at the following location is vulnerable to a cross-site scripting attack and recommends updating to at least v3.5.0.
http://nagios-server/nagiosxi/includes/ ... 1.2.min.js
The following forum post suggests that there are some jquery versions in "includes/js/jquery" that may not be required for most of NagiosXI's functionality.
https://support.nagios.com/forum/viewto ... 16&t=59326
What is the most expedient way to resolve this? I have just upgraded to XI v5.7.2-2 because I was told that it would resolve the cross-site vulnerability issues our scans were showing. Was this jquery version supposed to be deleted as part of the upgrade?
Here are the jquery versions I found.. no idea which ones I need and which ones I don't.
[jquery]# find /usr/local/nagiosxi/html/includes/js/jquery/ -name 'jquery-*'
/usr/local/nagiosxi/html/includes/js/jquery/jquery-3.5.1.min.js
/usr/local/nagiosxi/html/includes/js/jquery/css/smoothness/jquery-ui-1.9.0.custom.min.css
/usr/local/nagiosxi/html/includes/js/jquery/css/smoothness/jquery-ui.custom.min.css
/usr/local/nagiosxi/html/includes/js/jquery/jquery-ui-1.9.0.custom.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-1.12.4.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-migrate-3.0.0.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-ui-1.12.1.custom.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-migrate-1.2.1.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-ui-timepicker-addon.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js
/usr/local/nagiosxi/html/includes/js/jquery/jquery-migrate-1.4.1.min.js