Vulnerabilities > CVE-2016-1713 - Unrestricted Upload of File with Dangerous Type vulnerability in Vtiger CRM 6.4.0
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
Unrestricted file upload vulnerability in the Settings_Vtiger_CompanyDetailsSave_Action class in modules/Settings/Vtiger/actions/CompanyDetailsSave.php in Vtiger CRM 6.4.0 allows remote authenticated users to execute arbitrary code by uploading a crafted image file with an executable extension, then accessing it via a direct request to the file in test/logo/. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-6000.
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 | vTiger File Upload |
url | http://www.d2sec.com/exploits/vtiger_file_upload.html |
Exploit-Db
description Vtiger CRM 6.3.0 - Authenticated Arbitrary File Upload (Metasploit). CVE-2016-1713. Webapps exploit for PHP platform. Tags: Metasploit Framework (MSF) file exploits/php/webapps/44379.rb id EDB-ID:44379 last seen 2018-05-24 modified 2018-03-30 platform php port published 2018-03-30 reporter Exploit-DB source https://www.exploit-db.com/download/44379/ title Vtiger CRM 6.3.0 - Authenticated Arbitrary File Upload (Metasploit) type webapps description Vtiger CRM <= 6.3.0 Authenticated Remote Code Execution. CVE-2015-6000,CVE-2016-1713. Webapps exploit for php platform id EDB-ID:38345 last seen 2016-02-04 modified 2015-09-28 published 2015-09-28 reporter Benjamin Daniel Mussler source https://www.exploit-db.com/download/38345/ title Vtiger CRM <= 6.3.0 Authenticated Remote Code Execution
Metasploit
description | Vtiger 6.3.0 CRM's administration interface allows for the upload of a company logo. Instead of uploading an image, an attacker may choose to upload a file containing PHP code and run this code by accessing the resulting PHP file. This module was tested against vTiger CRM v6.3.0. |
id | MSF:EXPLOIT/MULTI/HTTP/VTIGER_LOGO_UPLOAD_EXEC |
last seen | 2020-06-02 |
modified | 2018-07-30 |
published | 2018-07-17 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/vtiger_logo_upload_exec.rb |
title | Vtiger CRM - Authenticated Logo Upload RCE |
Packetstorm
data source | https://packetstormsecurity.com/files/download/148753/vtiger_logo_upload_exec.rb.txt |
id | PACKETSTORM:148753 |
last seen | 2018-07-31 |
published | 2018-07-30 |
reporter | Benjamin Daniel Mussler |
source | https://packetstormsecurity.com/files/148753/Vtiger-CRM-6.3.0-Authenticated-Logo-Upload-Remote-Command-Execution.html |
title | Vtiger CRM 6.3.0 Authenticated Logo Upload Remote Command Execution |
References
- http://b.fl7.de/2016/01/vtiger-crm-6.4-auth-rce.html
- http://b.fl7.de/2016/01/vtiger-crm-6.4-auth-rce.html
- http://www.openwall.com/lists/oss-security/2016/01/12/4
- http://www.openwall.com/lists/oss-security/2016/01/12/4
- http://www.openwall.com/lists/oss-security/2016/01/12/7
- http://www.openwall.com/lists/oss-security/2016/01/12/7
- https://www.exploit-db.com/exploits/44379/
- https://www.exploit-db.com/exploits/44379/