Vulnerabilities > CVE-2013-3520 - Code Injection vulnerability in VMWare Vcenter Chargeback Manager
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
VMware vCenter Chargeback Manager (aka CBM) before 2.5.1 does not proper handle uploads, which allows remote attackers to execute arbitrary code via unspecified vectors.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 7 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
Exploit-Db
description | VMware vCenter Chargeback Manager ImageUploadServlet Arbitrary File Upload. CVE-2013-3520. Remote exploit for windows platform |
id | EDB-ID:27046 |
last seen | 2016-02-03 |
modified | 2013-07-23 |
published | 2013-07-23 |
reporter | metasploit |
source | https://www.exploit-db.com/download/27046/ |
title | VMware vCenter Chargeback Manager ImageUploadServlet Arbitrary File Upload |
Metasploit
description | This module exploits a code execution flaw in VMware vCenter Chargeback Manager, where the ImageUploadServlet servlet allows unauthenticated file upload. The files are uploaded to the /cbmui/images/ web path, where JSP code execution is allowed. The module has been tested successfully on VMware vCenter Chargeback Manager 2.0.1 on Windows 2003 SP2. |
id | MSF:EXPLOIT/WINDOWS/HTTP/VMWARE_VCENTER_CHARGEBACK_UPLOAD |
last seen | 2020-06-13 |
modified | 2019-08-02 |
published | 2013-07-18 |
references | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3520 |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/http/vmware_vcenter_chargeback_upload.rb |
title | VMware vCenter Chargeback Manager ImageUploadServlet Arbitrary File Upload |
Nessus
NASL family | Windows |
NASL id | VMWARE_VCENTER_CHARGEBACK_MANAGER_251.NASL |
description | The version of VMware vCenter Chargeback Manager installed on the remote Windows host is potentially affected by a remote code execution vulnerability due to a flaw in the handling of file uploads. By exploiting this flaw, a remote, unauthenticated attacker could execute arbitrary code subject to the privileges of the user running the application. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 66897 |
published | 2013-06-14 |
reporter | This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/66897 |
title | VMware vCenter Chargeback Manager Remote Code Execution (VMSA-2013-0008) |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/122509/vmware_vcenter_chargeback_upload.rb.txt |
id | PACKETSTORM:122509 |
last seen | 2016-12-05 |
published | 2013-07-23 |
reporter | Andrea Micalizzi |
source | https://packetstormsecurity.com/files/122509/VMware-vCenter-Chargeback-Manager-ImageUploadServlet-Arbitrary-File-Upload.html |
title | VMware vCenter Chargeback Manager ImageUploadServlet Arbitrary File Upload |