{"id":"MSF-linux--local--vmware_mount","name":"VMWare Setuid vmware-mount Unsafe popen(3)","description":"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.","cves":["CVE-2013-1662"],"author":"Tavis Ormandy, egypt","published":"2013-08-22","platform":"Linux","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/28c856ca21ac307a61589dae6a173dfc2003a235/modules/exploits/linux/local/vmware_mount.rb","path":"modules/exploits/linux/local/vmware_mount.rb","revision":"28c856ca21ac307a61589dae6a173dfc2003a235","filename":"vmware_mount.rb","vulnerabilities":[{"id":"CVE-2013-1662","state":"PUBLISHED","title":null,"titleSource":null,"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-1662","cvss":{"version":"2.0","baseScore":6.9,"severity":"medium","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2013-1662"},"updatedAt":"2024-09-17T04:29:37.889Z","retrievedAt":"2026-11-27T19:06:31.122Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-linux--local--vmware_mount.png?v=2","url":"https://exploitbin.com/exploits/MSF-linux--local--vmware_mount","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--local--vmware_mount/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--local--vmware_mount/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}