Skip to content
OpenAdvisories

Weakness (CWE)

CWE-59: Improper Link Resolution Before File Access

Base Draft

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.

How to prevent it (1 mitigation)
  1. Architecture and Design

    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.

Source: MITRE CWE-59

1,132 results · Feed

  • High 7.0

    GlobalProtect App: Improper Link Resolution Vulnerability Leads to Local Privilege Escalation

    An improper link resolution before file access ('link following') vulnerability exists in the Palo Alto Networks GlobalProtect app on Windows that enables a local attacker to disrupt system processes and potentially execute arbitrary code with SYSTEM privileg…

  • High 7.8
    CVE-2022-21999 Exploited · Ransomware Public exploit EPSS 41%

    Windows Print Spooler Elevation of Privilege Vulnerability

    Windows Print Spooler Elevation of Privilege Vulnerability

    KEV Mar 25, 2022
  • High 7.8

    watchman: chown in watchman@.socket unit allows symlink attack

    A UNIX Symbolic Link (Symlink) Following vulnerability in the systemd service file for watchman of openSUSE Backports SLE-15-SP3, Factory allows local attackers to escalate to root. This issue affects: openSUSE Backports SLE-15-SP3 watchman versions prior to …

  • Medium 6.1

    Cortex XDR Agent: Local Arbitrary File Deletion Vulnerability

    An improper link resolution before file access vulnerability exists in the Palo Alto Networks Cortex XDR agent on Windows platforms that enables a local user to delete arbitrary system files and impact the system integrity or cause a denial of service conditi…

  • High 7.0
    CVE-2022-21919 Exploited

    Windows User Profile Service Elevation of Privilege Vulnerability

    Windows User Profile Service Elevation of Privilege Vulnerability

    KEV Apr 25, 2022
  • High 7.5

    Arbitrary File Write

    This affects all versions of package github.com/kataras/iris; all versions of package github.com/kataras/iris/v12. The unsafe handling of file names during upload using UploadFormFiles method may enable attackers to write to arbitrary locations outside the de…

  • High 7.8

    Windows Setup Elevation of Privilege Vulnerability

    Windows Setup Elevation of Privilege Vulnerability

  • Medium 5.5
    CVE-2021-41379 Exploited · Ransomware EPSS 19%

    Windows Installer Elevation of Privilege Vulnerability

    Windows Installer Elevation of Privilege Vulnerability

    KEV Mar 3, 2022
  • Medium 6.1

    Improper Link Resolution Before File Access in Bitdefender GravityZone (VA-9921)

    Improper Link Resolution Before File Access ('Link Following') vulnerability in the EPAG component of Bitdefender Endpoint Security Tools for Windows allows a local attacker to cause a denial of service. This issue affects: Bitdefender GravityZone version 7.1…

  • Critical 9.0

    Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins

    FilePath#listFiles lists files outside directories that agents are allowed to access when following symbolic links in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.

  • Critical 9.0

    Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins

    Creating symbolic links is possible without the 'symlink' agent-to-controller access control permission in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.

  • Critical 9.0

    Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins

    File path filters in the agent-to-controller security subsystem of Jenkins 2.318 and earlier, LTS 2.303.2 and earlier do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories.

  • High 7.3

    Improper access control vulnerability in McAfee ENS for Windows

    Improper privileges management vulnerability in McAfee Endpoint Security (ENS) Windows prior to 10.7.0 September 2021 Update allows local users to access files which they would otherwise not have access to via manipulating junction links to redirect McAfee fo…

  • High 8.2

    UNIX Symbolic Link (Symlink) Following in @npmcli/arborist

    `@npmcli/arborist`, the library that calculates dependency trees and manages the node_modules folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will alw…

  • High 8.2

    UNIX Symbolic Link (Symlink) Following in @npmcli/arborist

    `@npmcli/arborist`, the library that calculates dependency trees and manages the `node_modules` folder hierarchy for the npm command line interface, aims to guarantee that package dependency contracts will be met, and the extraction of package contents will a…

  • High 8.2

    Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links

    The npm package "tar" (aka node-tar) before versions 4.4.16, 5.0.8, and 6.1.7 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is …

  • High 8.2

    Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links

    The npm package "tar" (aka node-tar) before versions 4.4.18, 5.0.10, and 6.1.9 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is…

  • High 8.2

    Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning

    The npm package "tar" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `node-tar` aims to guarantee that any file whose location would be modified by a s…

  • High 7.1
    CVE-2021-32610 EPSS 73%

    Directory Traversal in Archive_Tar

    In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.

  • Medium 5.2

    apport process_report() arbitrary file write

    It was discovered that the process_report() function in data/whoopsie-upload-all allowed arbitrary file writes via symlinks.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the xorg-hwe-18.04 package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the xorg package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-17 package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-15 package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-16 package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-14 package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-8 package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-13 package apport hooks, it could expose private data to other local users.

  • High 7.3

    apport read_file() function could follow maliciously constructed symbolic links

    It was discovered that read_file() in apport/hookutils.py would follow symbolic links or open FIFOs. When this function is used by the openjdk-lts package apport hooks, it could expose private data to other local users.

  • Medium 6.8

    python-postorius: postorius-permissions.sh used during %post allows local privilege escalation from postorius user to root

    A UNIX Symbolic Link (Symlink) Following vulnerability in python-postorius of openSUSE Leap 15.2, Factory allows local attackers to escalate from users postorius or postorius-admin to root. This issue affects: openSUSE Leap 15.2 python-postorius version 1.3.2…

  • High 7.8

    Permissions bypass in pleaser

    pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.

  • High 8.2

    By exploiting a time of check to time of use (TOCTOU) race condition during the Endpoint Security for Linux Threat Prev…

  • High 7.8

    Privilege Escalation vulnerability in McAfee Total Protection (MTP)

    Privilege Escalation vulnerability in the File Lock component of McAfee Total Protection (MTP) prior to 16.0.32 allows a local user to gain elevated privileges by manipulating a symbolic link in the IOCTL interface.

  • Unscored —

    A denial of service vulnerability was reported in Check Point Identity Agent before R81.018.0000, which could allow low…

  • Low 2.7

    Directory exposure in jetty

    In Eclipse Jetty 9.4.32 to 9.4.38, 10.0.0.beta2 to 10.0.1, and 11.0.0.beta2 to 11.0.1, if a user uses a webapps directory that is a symlink, the contents of the webapps directory is deployed as a static webapp, inadvertently serving the webapps themselves and…

  • Medium 6.1

    This vulnerability allows local attackers to delete arbitrary directories on affected installations of Avast Premium Se…

  • Medium 6.3

    There is an open race window when writing output in the following utilities in GNU binutils version 2.35 and earlier:ar…

  • High 7.8

    Privilege escalation in McAfee DLP Endpoint for Windows

    Privilege Escalation vulnerability in McAfee Data Loss Prevention (DLP) for Windows prior to 11.6.100 allows a local, low privileged, attacker through the use of junctions to cause the product to load DLLs of the attacker's choosing. This requires the creatio…

  • High 8.0
    CVE-2021-21300 Public exploit EPSS 89%

    malicious repositories can execute remote code while cloning

    Git is an open-source distributed revision control system. In affected versions of Git a specially crafted repository that contains symbolic links as well as files using a clean/smudge filter such as Git LFS, may cause just-checked out script to be executed w…

  • High 7.8

    McAfee Total Protection (MTP) privilege escalation vulnerability

    Privilege Escalation vulnerability in McAfee Total Protection (MTP) prior to 16.0.30 allows a local user to gain elevated privileges and perform arbitrary file deletion as the SYSTEM user potentially causing Denial of Service via manipulating Junction link, a…