Vulnerability & Exploit Database

Back to search

ManageEngine Desktop Central 9 FileUploadServlet ConnectionId Vulnerability

This module exploits a vulnerability found in ManageEngine Desktop Central 9. When uploading a 7z file, the FileUploadServlet class does not check the user-controlled ConnectionId parameter in the FileUploadServlet class. This allows a remote attacker to inject a null bye at the end of the value to create a malicious file with an arbitrary file type, and then place it under a directory that allows server-side scripts to run, which results in remote code execution under the context of SYSTEM. Please note that by default, some ManageEngine Desktop Central versions run on port 8020, but older ones run on port 8040. Also, using this exploit will leave debugging information produced by FileUploadServlet in file rdslog0.txt. This exploit was successfully tested on version 9, build 90109 and build 91084.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/windows/http/manageengine_connectionid_write

Authors

  • sinn3r <sinn3r [at] metasploit.com>

References

Targets

  • ManageEngine Desktop Central 9 on Windows

Platforms

  • windows

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/http/manageengine_connectionid_write msf exploit(manageengine_connectionid_write) > show targets ...targets... msf exploit(manageengine_connectionid_write) > set TARGET <target-id> msf exploit(manageengine_connectionid_write) > show options ...show and set options... msf exploit(manageengine_connectionid_write) > exploit