---------------------------------------------------------------------- Secunia is hiring! Find your next job here: http://secunia.com/company/jobs/ ---------------------------------------------------------------------- TITLE: Nagios XI Cross-Site Scripting and Privilege Escalation Vulnerabilities SECUNIA ADVISORY ID: SA47087 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/47087/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=47087 RELEASE DATE: 2011-12-16 DISCUSS ADVISORY: http://secunia.com/advisories/47087/#comments AVAILABLE ON SITE AND IN CUSTOMER AREA: * Last Update * Popularity * Comments * Criticality Level * Impact * Where * Solution Status * Operating System / Software * CVE Reference(s) http://secunia.com/advisories/47087/ ONLY AVAILABLE IN CUSTOMER AREA: * Authentication Level * Report Reliability * Secunia PoC * Secunia Analysis * Systems Affected * Approve Distribution * Remediation Status * Secunia CVSS Score * CVSS https://ca.secunia.com/?page=viewadvisory&vuln_id=47087 ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI: * AUTOMATED SCANNING http://secunia.com/vulnerability_scanning/personal/ http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/ DESCRIPTION: 0a29406d9794e4f9b30b3c5d6702c708 has reported a security issue and multiple vulnerabilities in Nagios XI, which can be exploited by malicious, local users to perform certain actions with escalated privileges and by malicious people to conduct cross-site scripting attacks. 1) Input appended to the URL after e.g. login.php, index.php, about/index.php, etc. is not properly sanitised in html/includes/pageparts.inc.php and in the "get_permalink_base()" function in html/includes/utils.inc.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 2) Input passed via the "xiwindow" parameter to account/ is not properly sanitised in the "get_window_frame_url()" function in html/includes/pageparts.inc.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 3) Input appended to the URL after includes/components/xicore/recurringdowntime.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 4) Input passed via the "height", "service", and "width" parameters to reports/alertheatmap.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 5) Input passed via the "service" parameter to reports/histogram.php, reports/statehistory.php, or reports/notifications.php is not properly sanitised in the "get_service_status_detail_link()" function in includes/utils-links.inc.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 6) Input passed via the "host" and "service" parameters to reports/notifications.php is not properly sanitised in the "get_host_status_detail_link()" in includes/utils-links.inc.php before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. 7) The security issue is caused due to certain scripts using temporary files in an insecure manner, which can be exploited to e.g. overwrite arbitrary files via symlink attacks. The vulnerabilities are reported in version 2011R1.8. Prior versions may also be affected. SOLUTION: Update to version 2011R1.9. PROVIDED AND/OR DISCOVERED BY: 0a29406d9794e4f9b30b3c5d6702c708 ORIGINAL ADVISORY: 0a29406d9794e4f9b30b3c5d6702c708: http://0a29.blogspot.com/2011/12/0a29-11-3-cross-site-scripting.html http://0a29.blogspot.com/2011/12/0a29-11-4-privilege-escalation.html Nagios: http://assets.nagios.com/downloads/nagiosxi/CHANGES-2011.TXT OTHER REFERENCES: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ DEEP LINKS: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED DESCRIPTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXTENDED SOLUTION: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ EXPLOIT: Further details available in Customer Area: http://secunia.com/vulnerability_intelligence/ ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help private users keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/advisories/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/advisories/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------