Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

VMware Tools Flaw Allowed Code Execution via DLL Hijacking

An advisory published by VMware on Thursday describes two important vulnerabilities that affected several of the company’s products.

An advisory published by VMware on Thursday describes two important vulnerabilities that affected several of the company’s products.

The first security hole, tracked as CVE-2016-5330, is a DLL hijacking issue in the Windows version of VMware Tools. The flaw can be exploited to execute arbitrary code on the targeted system.

The vulnerability was reported to VMware late last year by Yorick Koster, researcher and co-founder of Dutch security firm Securify. Koster told SecurityWeek that the issue was addressed by the vendor in April, but it was not disclosed until now to give users enough time to patch.

According to Koster, the flaw is related to the VMware Host Guest Client Redirector component of VMware Tools. The component is used for the Shared Folders feature, which allows users to share files between the guest and the host operating system.

The researcher noticed that when a document is opened from a uniform naming convention (UNC) path, the Client Redirector injects a DLL named “vmhgfs.dll” into the application that is used to open the file. Since the DLL was loaded from a relative path, Windows searched for it using the dynamic-link library search order.

This allowed an attacker to place a malicious DLL in a location from where it would likely be loaded before the legitimate file. By getting the Client Redirector to load the malicious DLL into the application, an attacker could have executed arbitrary code with the privileges of the targeted user. An attack could have resulted in the system getting completely compromised.

For the attack to work, the hacker needed to trick the victim into opening any document from the share containing the malicious DLL file. The researcher also believes the attack could have been launched over the Internet if the WebDAV Mini-Redirector was enabled.

Mini-Redirector is a Windows WebDAV client that allows users to access remote shares over the Internet as if they were on the local network. An attacker could have created their own malicious website with WebDAV enabled and use it to host bait documents and the malicious DLL. The vulnerability could have been exploited by luring the victim to the malicious website and getting them to open one of the documents.

Advertisement. Scroll to continue reading.

Koster said VMware addressed the vulnerability by ensuring that the DLL is loaded from an absolute path. The flaw affects VMware vSphere Hypervisor (ESXi), Workstation Player and Pro, and Fusion.

Another vulnerability disclosed on Thursday by VMware is an HTTP header injection issue affecting vCenter Server and ESXi. The flaw, caused by lack of input validation, allows an attacker to set arbitrary HTTP response headers and cookies, and launch cross-site scripting (XSS) or malicious redirect attacks.

The security hole, tracked as CVE-2016-5331, was reported to VMware independently by several researchers.

Related: VMware Patches Critical Flaw in NSX, vCNS Products

Related: VMware Updates Products to Patch Critical, Important Flaws

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Cody Barrow has been appointed as CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.