Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-59 (在文件访问前对链接解析不恰当(链接跟随)) — Vulnerability Class 565

565 vulnerabilities classified as CWE-59 (在文件访问前对链接解析不恰当(链接跟随)). AI Chinese analysis included.

CWE-59 represents a critical input validation weakness where software fails to properly resolve symbolic links or shortcuts before accessing a file. Attackers typically exploit this vulnerability by crafting malicious links that point to sensitive system files or directories outside the intended scope. When the application resolves these links without adequate checks, it inadvertently grants access to unauthorized resources, potentially leading to data leakage, privilege escalation, or remote code execution. To mitigate this risk, developers must implement rigorous link resolution controls, ensuring that all file paths are canonicalized and verified against a strict allowlist before any I/O operations occur. Utilizing secure API functions that explicitly handle link following, combined with strict permission checks on the final resolved path, effectively prevents attackers from leveraging symlinks to bypass security boundaries and access unintended system components.

MITRE CWE Description
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.
Common Consequences (2)
Confidentiality, Integrity, Access ControlRead Files or Directories, Modify Files or Directories, Bypass Protection Mechanism
An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpected files. If the files are used for a security mechanism then an attacker may be able to bypass the mechanism.
OtherExecute Unauthorized Code or Commands
Windows simple shortcuts, sometimes referred to as soft links, can be exploited remotely since a ".LNK" file can be uploaded like a normal file. This can enable remote execution.
Mitigations (1)
Architecture and DesignFollow 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.
CVE IDTitleCVSSSeverityPublished
CVE-2020-8095 Bitdefender Total Security Link Resolution Denial-of-Service Vulnerability — Bitdefender Total Security 2020 4.9 Medium2020-01-30
CVE-2019-3699 Local privilege escalation from user privoxy to root — Leap 15.1 7.7 High2020-01-24
CVE-2019-3697 Local privilege escalation from user gnump3d to root — Leap 15.1 7.7 High2020-01-24
CVE-2019-3694 Local privilege escalation from munin to root in the packaging of munin — Factory 7.7 High2020-01-24
CVE-2019-3693 Local privilege escalation from user wwwrun to root in the packaging of mailman — SUSE Linux Enterprise Server 11 7.7 High2020-01-24
CVE-2019-3692 Local privilege escalation from user news to root in the packaging of inn — SUSE Linux Enterprise Server 11 7.7 High2020-01-24
CVE-2019-3691 Local privilege escalation from user munge to root — SUSE Linux Enterprise Server 15 7.7 High2020-01-23
CVE-2019-18898 trousers: Local privilege escalation from tss to root — SUSE Linux Enterprise Server 15 SP1 7.7 High2020-01-23
CVE-2019-8463 Check Point Endpoint Security Client 后置链接漏洞 — Check Point Endpoint Security Client for Windows 6.2 -2019-12-23
CVE-2019-18232 SafeNet Sentinel LDK License Manager 后置链接漏洞 — SafeNet Sentinel LDK License Manager Runtime 7.8 -2019-12-11
CVE-2019-3690 chkstat follows untrusted symbolic links — permissions 6.8 Medium2019-12-05
CVE-2019-12672 Cisco IOS XE Software Arbitrary Code Execution Vulnerability — Cisco IOS XE Software 3.11.1S 6.8 -2019-09-25
CVE-2019-10152 Podman 路径遍历漏洞 — podman 7.5 -2019-07-30
CVE-2018-14651 Red Hat Gluster 安全漏洞 — glusterfs 8.8 -2018-10-31
CVE-2018-10928 Red Hat glusterfs服务器RPC请求处理器组件后置链接漏洞 — glusterfs 8.8 -2018-09-04
CVE-2017-7500 Red Hat RPM 安全漏洞 — rpm 7.8 -2018-08-13
CVE-2018-10897 yum-utils 后置链接漏洞 — yum-utils: 7.5 -2018-08-01
CVE-2016-8641 Nagios 后置链接漏洞 — nagios 7.8 -2018-08-01
CVE-2017-15097 PostgreSQL 后置链接漏洞 — postgresql init script 7.2 -2018-07-27
CVE-2016-9602 QEMU 权限许可和访问控制漏洞 — Qemu 8.8 -2018-04-26
CVE-2018-1063 policycoreutils 后置链接漏洞 — policycoreutils 6.1 -2018-03-02
CVE-2017-7501 Red Hat RPM 安全漏洞 — rpm 7.8 -2017-11-22
CVE-2017-12172 PostgreSQL 安全漏洞 — postgresql 6.7 -2017-11-22
CVE-2017-12258 Cisco Unified Communications Manager 安全漏洞 — Cisco Unified Communications Manager 6.1 -2017-10-05
CVE-2013-0261 Packstack: packstack: arbitrary file overwrite via symlink attack — Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) 8.8 High2013-03-08

Vulnerabilities classified as CWE-59 (在文件访问前对链接解析不恰当(链接跟随)) represent 565 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.