目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CWE-59 在文件访问前对链接解析不恰当(链接跟随) 类漏洞列表 638

CWE-59 在文件访问前对链接解析不恰当(链接跟随) 类弱点 638 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-59 属于文件访问类漏洞,指程序在访问文件前未正确验证链接解析结果。攻击者常通过创建指向敏感资源的符号链接或快捷方式,诱导程序读取非预期文件,从而引发信息泄露或权限提升。开发者应避免直接使用用户输入的文件名,需在访问前校验最终解析路径,确保其位于预期的安全目录内,防止链接劫持风险。

MITRE CWE 官方描述
CWE:CWE-59 文件访问前链接解析不当('Link Following') 英文:产品尝试基于文件名访问文件,但未能正确防止该文件名标识解析到非预期资源的链接或快捷方式。
常见影响 (2)
Confidentiality, Integrity, Access Control Read 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.
Other Execute 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.
缓解措施 (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.
CVE ID 标题 CVSS 风险等级 Published
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 任意文件重写漏洞 — Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) 8.8 High 2013-03-08

CWE-59(在文件访问前对链接解析不恰当(链接跟随)) 是常见的弱点类别,本平台收录该类弱点关联的 638 条 CVE 漏洞。