Vulnerabilities > CVE-2015-8249 - Unrestricted Upload of File with Dangerous Type vulnerability in Manageengine Desktop Central 9.0
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH 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 | 1 |
Common Weakness Enumeration (CWE)
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
name | ManageEngine Desktop Central 9.0.0 FileUploadServlet File Upload |
url | http://www.d2sec.com/exploits/manageengine_desktop_central_9.0.0_fileuploadservlet_file_upload.html |
Exploit-Db
description | ManageEngine Desktop Central 9 FileUploadServlet ConnectionId Vulnerability. CVE-2015-8249. Remote exploit for jsp platform |
file | exploits/jsp/remote/38982.rb |
id | EDB-ID:38982 |
last seen | 2016-02-04 |
modified | 2015-12-15 |
platform | jsp |
port | 8020 |
published | 2015-12-15 |
reporter | metasploit |
source | https://www.exploit-db.com/download/38982/ |
title | ManageEngine Desktop Central 9 FileUploadServlet ConnectionId Vulnerability |
type | remote |
Metasploit
description | 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. |
id | MSF:EXPLOIT/WINDOWS/HTTP/MANAGEENGINE_CONNECTIONID_WRITE |
last seen | 2020-06-09 |
modified | 2020-02-18 |
published | 2015-12-14 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/manageengine_connectionid_write.rb |
title | ManageEngine Desktop Central 9 FileUploadServlet ConnectionId Vulnerability |
Packetstorm
data source | https://packetstormsecurity.com/files/download/134806/manageengine_connectionid_write.rb.txt |
id | PACKETSTORM:134806 |
last seen | 2016-12-05 |
published | 2015-12-14 |
reporter | sinn3r |
source | https://packetstormsecurity.com/files/134806/ManageEngine-Desktop-Central-9-FileUploadServlet-ConnectionId.html |
title | ManageEngine Desktop Central 9 FileUploadServlet ConnectionId |
References
- https://www.exploit-db.com/exploits/38982/
- https://community.rapid7.com/community/infosec/blog/2015/12/14/r7-2015-22-manageengine-desktop-central-9-fileuploadservlet-connectionid-vulnerability-cve-2015-8249
- http://www.rapid7.com/db/modules/exploit/windows/http/manageengine_connectionid_write
- http://packetstormsecurity.com/files/134806/ManageEngine-Desktop-Central-9-FileUploadServlet-ConnectionId.html