CVE Vulnerabilities

CVE-2009-1143

Improper Link Resolution Before File Access ('Link Following')

Published: Nov 23, 2022 | Modified: Apr 25, 2025
CVSS 3.x
7
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
NEGLIGIBLE
root.io logo minimus.io logo echo.ai logo

An issue was discovered in open-vm-tools 2009.03.18-154848. Local users can bypass intended access restrictions on mounting shares via a symlink attack that leverages a realpath race condition in mount.vmhgfs (aka hgfsmounter).

Weakness

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Software

NameVendorStart VersionEnd Version
Open-vm-toolsVmware2009.03.18-154848 (including)2009.03.18-154848 (including)
Open-vm-toolsUbuntubionic*
Open-vm-toolsUbuntuesm-infra-legacy/trusty*
Open-vm-toolsUbuntuesm-infra/bionic*
Open-vm-toolsUbuntuesm-infra/focal*
Open-vm-toolsUbuntuesm-infra/xenial*
Open-vm-toolsUbuntufocal*
Open-vm-toolsUbuntutrusty*
Open-vm-toolsUbuntutrusty/esm*
Open-vm-toolsUbuntuxenial*

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References