Exploit database

Vulnerability

CVE-2013-1662

Vulnerability details

Score
6.9
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:L/AC:M/Au:N/C:C/I:C/A:C

Description

vmware-mount in VMware Workstation 8.x and 9.x and VMware Player 4.x and 5.x, on systems based on Debian GNU/Linux, allows host OS users to gain host OS privileges via a crafted lsb_release binary in a directory in the PATH, related to use of the popen library function.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

3 sources
VMWare Setuid vmware-mount Unsafe popen(3)
MSF-linux--local--vmware_mountMetasploitLinux / remote

VMWare Workstation (up to and including 9.0.2 build-1031769) and Player have a setuid executable called vmware-mount that invokes lsb_release in the PATH with popen(3). Since PATH is user-controlled, and the default system shell on Debian-derived distributions does not drop privs, we can put an arbitrary payload in an executable called lsb_release and have vmware-mount happily execute it as root for us.

2013-08-22vmware_mount.rb