VMware Workstation/Player on Debian Linux Mount /usr/bin/vmware-mount access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.1$0-$5k0.00

A vulnerability, which was classified as problematic, was found in VMware Workstation and Player on Debian Linux (Virtualization Software) (version now known). This affects some unknown processing of the file /usr/bin/vmware-mount of the component Mount Handler. The manipulation with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, and integrity. The summary by CVE is:

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.

The weakness was published 08/22/2013 by Tavis Ormandy (@taviso) with Google Security Team as VMSA-2013-0010 as confirmed advisory (Website). The advisory is shared at vmware.com. The public release has been coordinated with VMware. The advisory contains:

It looks like Debian originally decided they didn't want privmode because it broke UUCP.
This vulnerability is uniquely identified as CVE-2013-1662 since 02/12/2013. An attack has to be approached locally. Required for exploitation is a authentication. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1068 for this issue. The advisory points out:
On most modern Linux systems, /bin/sh is provided by bash, which detects that it's being invoked as sh, and attempts to mimic traditional sh. As everyone who works in security quickly learns, bash will drop privileges very early if uid != euid. (…) However, this never really happens on Debian derived systems.

A public exploit has been developed by Tavis Ormandy (@taviso) in Bash and been published immediately after the advisory. The exploit is shared for download at blog.cmpxchg8b.com. It is declared as highly functional. We expect the 0-day to have been worth approximately $25k-$100k. The advisory illustrates:

(…) [Y]ou can get a nice easy root shell like this on any Debian/Ubuntu derived system with VMware installed: $ cc -xc - -olsb_release<<<'main(){system("sh>`tty` 2>&1");}';PATH=.:$PATH vmware-mount

Applying a patch is able to eliminate this problem. The bugfix is ready for download at patch-tracker.debian.org. It is possible to mitigate the problem by applying the configuration setting chmod u-s /usr/bin/vmware-mount. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (86592) and Exploit-DB (27938). Further details are available at blog.cmpxchg8b.com.

Productinfo

Type

Vendor

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.4
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.4
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
ATT&CK: T1068

Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Highly functional
Author: Tavis Ormandy (@taviso)
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

MetaSploit ID: vmware_mount.rb
MetaSploit Name: VMWare Setuid vmware-mount Unsafe popen(3)
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Patch: patch-tracker.debian.org
Config: chmod u-s /usr/bin/vmware-mount

Timelineinfo

02/12/2013 🔍
08/22/2013 +191 days 🔍
08/22/2013 +0 days 🔍
08/22/2013 +0 days 🔍
08/22/2013 +0 days 🔍
08/22/2013 +0 days 🔍
08/23/2013 +1 days 🔍
08/23/2013 +0 days 🔍
08/29/2013 +6 days 🔍
08/29/2013 +0 days 🔍
09/12/2013 +14 days 🔍
05/11/2017 +1337 days 🔍

Sourcesinfo

Vendor: vmware.com

Advisory: VMSA-2013-0010
Researcher: Tavis Ormandy (@taviso)
Organization: Google Security Team
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-1662 (🔍)
X-Force: 86592
Vulnerability Center: 41492 - VMware Workstation 8.x, 9.x and VMware Player 4.x, 5.x on Debian Linux Local Bypass Restrictions Vulnerability, Medium
SecurityFocus: 61966 - Multiple VMware Products CVE-2013-1662 Local Privilege Escalation Vulnerability
Secunia: 54580 - VMware Workstation / Player "vmware-mount" Privilege Escalation Vulnerability, Less Critical
OSVDB: 96588

scip Labs: https://www.scip.ch/en/?labs.20060413
Misc.: 🔍

Entryinfo

Created: 08/29/2013 10:21
Updated: 05/11/2017 08:44
Changes: 08/29/2013 10:21 (95), 05/11/2017 08:44 (2)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!