Vulnerabilities > CVE-2017-16001 - Race Condition vulnerability in Hashicorp Vagrant 5.0.1

047910
CVSS 7.2 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
local
low complexity
hashicorp
CWE-362
exploit available

Summary

In HashiCorp Vagrant VMware Fusion plugin (aka vagrant-vmware-fusion) 5.0.1, a local attacker or malware can silently subvert the plugin update process in order to escalate to root privileges.

Vulnerable Configurations

Part Description Count
Application
Hashicorp
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Leveraging Race Conditions
    This attack targets a race condition occurring when multiple processes access and manipulate the same resource concurrently and the outcome of the execution depends on the particular order in which the access takes place. The attacker can leverage a race condition by "running the race", modifying the resource and modifying the normal execution flow. For instance a race condition can occur while accessing a file, the attacker can trick the system by replacing the original file with his version and cause the system to read the malicious file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. The typical example is the file access. The attacker can leverage a file access race condition by "running the race", meaning that he would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the attacker could do something such as replace the file and cause an escalation of privilege.

Exploit-Db

descriptionHashicorp vagrant-vmware-fusion 5.0.1 - Local root Privilege Escalation. CVE-2017-16001. Local exploit for macOS platform. Tags: Local
fileexploits/macos/local/43220.sh
idEDB-ID:43220
last seen2017-12-06
modified2017-12-06
platformmacos
port
published2017-12-06
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/43220/
titleHashicorp vagrant-vmware-fusion 5.0.1 - Local root Privilege Escalation
typelocal

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/145232/hvvf501-escalate.txt
idPACKETSTORM:145232
last seen2017-12-07
published2017-12-06
reporterMark Wadham
sourcehttps://packetstormsecurity.com/files/145232/Hashicorp-vagrant-vmware-fusion-5.0.1-Local-Privilege-Escalation.html
titleHashicorp vagrant-vmware-fusion 5.0.1 Local Privilege Escalation