Vulnerabilities > CVE-2013-3591 - Unrestricted Upload of File with Dangerous Type vulnerability in Vtiger CRM 5.3.0/5.4.0

047910
CVSS 6.5 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
SINGLE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
vtiger
CWE-434
exploit available
metasploit

Summary

vTiger CRM 5.3 and 5.4: 'files' Upload Folder Arbitrary PHP Code Execution Vulnerability

Vulnerable Configurations

Part Description Count
Application
Vtiger
2

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

namevTiger CRM 5.4.0 kcfinder File Upload
urlhttp://www.d2sec.com/exploits/vtiger_crm_5.4.0_kcfinder_file_upload.html

Exploit-Db

descriptionvTigerCRM 5.3.0 5.4.0 - Authenticated Remote Code Execution. CVE-2013-3591. Remote exploit for php platform
idEDB-ID:29319
last seen2016-02-03
modified2013-10-31
published2013-10-31
reportermetasploit
sourcehttps://www.exploit-db.com/download/29319/
titlevTigerCRM 5.3.0 5.4.0 - Authenticated Remote Code Execution

Metasploit

descriptionvTiger CRM allows an authenticated user to upload files to embed within documents. Due to insufficient privileges on the 'files' upload folder, an attacker can upload a PHP script and execute arbitrary PHP code remotely. This module was tested against vTiger CRM v5.4.0 and v5.3.0.
idMSF:EXPLOIT/MULTI/HTTP/VTIGER_PHP_EXEC
last seen2020-06-02
modified2020-02-18
published2013-10-30
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/vtiger_php_exec.rb
titlevTigerCRM v5.4.0/v5.3.0 Authenticated Remote Code Execution

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/123858/vtiger_php_exec.rb.txt
idPACKETSTORM:123858
last seen2016-12-05
published2013-10-30
reporterBrandon Perry
sourcehttps://packetstormsecurity.com/files/123858/vTiger-CRM-5.3.0-5.4.0-Authenticated-Remote-Code-Execution.html
titlevTiger CRM 5.3.0 / 5.4.0 Authenticated Remote Code Execution