Vulnerabilities > CVE-2015-8249 - Unrestricted Upload of File with Dangerous Type vulnerability in Manageengine Desktop Central 9.0

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
manageengine
CWE-434
critical
exploit available
metasploit

Summary

The FileUploadServlet class in ManageEngine Desktop Central 9 before build 91093 allows remote attackers to upload and execute arbitrary files via the ConnectionId parameter.

Vulnerable Configurations

Part Description Count
Application
Manageengine
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Accessing Functionality Not Properly Constrained by ACLs
    In applications, particularly web applications, access to functionality is mitigated by the authorization framework, whose job it is to map ACLs to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application or can run queries for data that he is otherwise not supposed to.
  • Privilege Abuse
    An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non-privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level.

D2sec

nameManageEngine Desktop Central 9.0.0 FileUploadServlet File Upload
urlhttp://www.d2sec.com/exploits/manageengine_desktop_central_9.0.0_fileuploadservlet_file_upload.html

Exploit-Db

descriptionManageEngine Desktop Central 9 FileUploadServlet ConnectionId Vulnerability. CVE-2015-8249. Remote exploit for jsp platform
fileexploits/jsp/remote/38982.rb
idEDB-ID:38982
last seen2016-02-04
modified2015-12-15
platformjsp
port8020
published2015-12-15
reportermetasploit
sourcehttps://www.exploit-db.com/download/38982/
titleManageEngine Desktop Central 9 FileUploadServlet ConnectionId Vulnerability
typeremote

Metasploit

descriptionThis 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.
idMSF:EXPLOIT/WINDOWS/HTTP/MANAGEENGINE_CONNECTIONID_WRITE
last seen2020-06-09
modified2020-02-18
published2015-12-14
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/manageengine_connectionid_write.rb
titleManageEngine Desktop Central 9 FileUploadServlet ConnectionId Vulnerability

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/134806/manageengine_connectionid_write.rb.txt
idPACKETSTORM:134806
last seen2016-12-05
published2015-12-14
reportersinn3r
sourcehttps://packetstormsecurity.com/files/134806/ManageEngine-Desktop-Central-9-FileUploadServlet-ConnectionId.html
titleManageEngine Desktop Central 9 FileUploadServlet ConnectionId