vendor:
Vagrant-Vmware-Fusion
by:
Ralph Wort
7,8
CVSS
HIGH
Local Root Privilege Escalation
264
CWE
Product Name: Vagrant-Vmware-Fusion
Affected Version From: 4.0.21
Affected Version To: 4.0.23
Patch Exists: YES
Related CWE: CVE-2017-7642
CPE: a:hashicorp:vagrant-vmware-fusion
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Mac, Linux, Windows
2017
Local Root Privesc in Hashicorp’s Vagrant-Vmware-Fusion Plugin
A local root privilege escalation vulnerability was discovered in Hashicorp's vagrant-vmware-fusion plugin. The initial patch released by Hashicorp was 4.0.21, which contained a bug that prevented it from working on Mac systems. Subsequent releases of 4.0.22 and 4.0.23 were still exploitable, as the wrapper script executed the sudo helper as root, and the sudo helper was not root-owned, allowing an attacker to overwrite it with arbitrary ruby code which would then be executed as root when vagrant up was run. The issue was fixed in 4.0.24 by making the sudo helper root-owned.
Mitigation:
Upgrade to version 4.0.24 or later of the vagrant-vmware-fusion plugin.