Lucene search
K

Manage Engine Device Expert 5.9.9.0 Cross Site Scripting

🗓️ 23 Mar 2015 00:00:00Reported by Kaustubh G. PadwadType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 33 Views

Stored XSS Vulnerability In Manage Engine Device Expert. Vulnerable to CSRF/XSS attack allowing arbitrary code execution by attacker

Code
`===============================================================================  
Stored XSS Vulnerability In Manage Engine Device Expert  
===============================================================================  
  
. contents:: Table Of Content  
  
Overview  
========  
  
* Title :Stored XSS Vulnerability In Manage Engine Device Expert  
* Author: Kaustubh G. Padwad  
* Plugin Homepage: http://www.manageengine.com/products/device-expert/  
* Severity: HIGH  
* Version Affected: Version 5.9.9.0 Build: 5990  
* Version Tested : Version 5.9.9.0 Build: 5990  
* version patched: Separate Patch release for all version  
  
Description   
===========  
  
About the Product  
=================  
DeviceExpert 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, DeviceExpert helps automate and take total control of the entire life cycle of device configuration management.  
  
Vulnerable Parameter   
--------------------  
  
* Login Name   
  
  
  
About Vulnerability  
-------------------  
This Product is vulnerable to a combination of CSRF/XSS attack meaning that if an admin user can be tricked to visit a crafted URL created by attacker (via spear phishing/social engineering), the attacker can execute arbitrary code into Admin manage console. Once exploited, admin’s browser can be made to do almost anything the admin user could typically do by hijacking admin's cookies etc.   
  
Vulnerability Class  
===================   
Cross Site Request Forgery (https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29)  
Cross Site Scripting (https://www.owasp.org/index.php/Top_10_2013-A3-Cross-Site_Scripting_(XSS)   
  
Steps to Reproduce: (POC)  
=========================  
  
1. After Setting up Manage engine Login to manage engine Device expert  
  
2. Navigate to admin-->User Management-->New User  
  
3.Put this Payload into Login Name  
  
4.Fill the other details   
  
#####payload To Use#######################  
<BODY ONLOAD=alert('Hacked_ByS3curity_B3ast')>  
##########################################  
  
5. Click Save to See Stored XSS in action   
  
6. Reload Pages to see it many times you want ;)  
  
7. Same can be done By CSRF also :)  
  
. image:: stoerdXSS.jpeg  
:height: 1000 px  
:width: 1000 px  
:scale: 100 %  
:alt: XSS POC  
:align: center  
  
  
  
  
Mitigation   
==========  
Receved from manage engine team  
  
https://uploads.zohocorp.com/Internal_Useruploads/dnd/NetFlow_Analyzer/o_19ga51p951gblpbs1rkrm211vim1/vulnerabilities_Fix.zip  
  
Open DeviceExper.zip  
  
1. Stop the Device Expert service.   
2. Please replace AdvNCM.jar under DeviceExpert_Home/lib with the one under DeviceExpert.zip/AdvNCM.jar  
3. Start the Device Expert service  
  
  
Change Log  
==========  
  
  
Disclosure   
==========  
11-February-2015 Reported to Developer  
13-February-2015 Acknodlagement from Developer  
13-March-2015 Fixed by developer  
16-March-2015 Requested a cve ID   
21-March-2015 Public Disclosed   
credits  
=======  
* Kaustubh Padwad   
* Information Security Researcher  
* [email protected]   
* https://twitter.com/s3curityb3ast  
* http://breakthesec.com  
* https://www.linkedin.com/in/kaustubhpadwad  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation