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

目标: 1000 元 · 已筹: 1336

100%

CWE-73 文件名或路径的外部可控制 类漏洞列表 398

CWE-73 文件名或路径的外部可控制 类弱点 398 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-73 属于路径遍历漏洞,指应用程序允许用户输入控制文件系统操作中的文件名或路径。攻击者通常利用此缺陷构造恶意路径,以访问或修改系统关键文件及敏感数据,从而破坏应用完整性。开发者应避免直接拼接用户输入,需通过白名单验证、规范化路径及严格过滤特殊字符,确保最终路径位于预期的安全目录内,从而有效阻断非法访问。

MITRE CWE 官方描述
CWE:CWE-73 外部控制文件名或路径 (External Control of File Name or Path) 英文:产品允许用户输入控制或影响在文件系统操作 (filesystem operations) 中使用的路径或文件名。 这可能导致攻击者访问或修改对应用程序至关重要的系统文件或其他文件。路径操纵错误 (Path manipulation errors) 在满足以下两个条件时发生:1. 攻击者可以指定在文件系统操作 (operation on the filesystem) 中使用的路径。2. 通过指定资源,攻击者获得了原本不被允许的能力。例如,程序可能赋予攻击者覆盖指定文件或运行由攻击者控制的配置的能力。
常见影响 (3)
Integrity, ConfidentialityRead Files or Directories, Modify Files or Directories
The application can operate on unexpected files. Confidentiality is violated when the targeted filename is not directly readable by the attacker.
Integrity, Confidentiality, AvailabilityModify Files or Directories, Execute Unauthorized Code or Commands
The application can operate on unexpected files. This may violate integrity if the filename is written to, or if the filename is for a program or other form of executable code.
AvailabilityDoS: Crash, Exit, or Restart, DoS: Resource Consumption (Other)
The application can operate on unexpected files. Availability can be violated if the attacker specifies an unexpected file that the application modifies. Availability can also be affected if the attacker specifies a filename for a large file, or points to a special device or a file that does not hav…
缓解措施 (5)
Architecture and DesignWhen the set of filenames is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames, and reject all other inputs. For example, ID 1 could map to "inbox.txt" and ID 2 could map to "profile.txt". Features such as the ESAPI AccessReferenceMap provide this capability.
Architecture and Design, OperationRun your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict all access to files within a particular directory. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the oper…
Architecture and DesignFor any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Effectiveness: High
ImplementationUse a built-in path canonicalization function (such as realpath() in C) that produces the canonical version of the pathname, which effectively removes ".." sequences and symbolic links (CWE-23, CWE-59).
代码示例 (2)
The following code uses input from an HTTP request to create a file name. The programmer has not considered the possibility that an attacker could provide a file name such as "../../tomcat/conf/server.xml", which causes the application to delete one of its own configuration files (CWE-22).
String rName = request.getParameter("reportName"); File rFile = new File("/usr/local/apfr/reports/" + rName); ... rFile.delete();
Bad · Java
The following code uses input from a configuration file to determine which file to open and echo back to the user. If the program runs with privileges and malicious users can change the configuration file, they can use the program to read any file on the system that ends with the extension .txt.
fis = new FileInputStream(cfg.getProperty("sub")+".txt"); amt = fis.read(arr); out.println(arr);
Bad · Java
CVE ID标题CVSS风险等级Published
CVE-2025-54945 SUNNET Corporate Training Management System 安全漏洞 — Corporate Training Management System 9.8 -2025-08-30
CVE-2024-13984 QiAnXin TianQing Management Center 安全漏洞 — TianQing Management Center 9.8AICriticalAI2025-08-27
CVE-2025-9529 Campcodes Payroll Management System 安全漏洞 — Payroll Management System 7.3 High2025-08-27
CVE-2025-9048 WordPress plugin Wptobe-memberships 安全漏洞 — Wptobe-memberships 8.1 High2025-08-23
CVE-2025-53363 Dpanel 安全漏洞 — dpanel 6.5AIMediumAI2025-08-22
CVE-2025-55746 Directus 安全漏洞 — directus 9.3 Critical2025-08-20
CVE-2025-20269 Cisco Evolved Programmable Network Manager和Cisco Prime Infrastructure 安全漏洞 — Cisco Evolved Programmable Network Manager (EPNM) 6.5 Medium2025-08-20
CVE-2011-10030 Foxit PDF Reader 安全漏洞 — Foxit PDF Reader 8.8AIHighAI2025-08-20
CVE-2025-53769 Microsoft Windows Security Center 安全漏洞 — Windows Security App 5.5 Medium2025-08-12
CVE-2025-29866 TAGFREE X‑Free Uploader 安全漏洞 — X-Free Uploader 9.8AICriticalAI2025-08-07
CVE-2025-54780 glpi-inventory-plugin 安全漏洞 — glpi-screenshot-plugin 7.7 High2025-08-05
CVE-2025-5393 WordPress plugin Alone 安全漏洞 — Alone – Charity Multipurpose Non-profit WordPress Theme 9.1 Critical2025-07-15
CVE-2025-6691 WordPress plugin SureForms 安全漏洞 — SureForms – Drag and Drop Form Builder for WordPress 8.1 High2025-07-09
CVE-2025-49760 Microsoft Windows 安全漏洞 — Windows 10 Version 1507 3.5 Low2025-07-08
CVE-2025-49588 Linkwarden 安全漏洞 — linkwarden 6.5AIMediumAI2025-07-02
CVE-2025-6463 WordPress plugin Forminator Forms 安全漏洞 — Forminator Forms – Contact Form, Payment Form & Custom Form Builder 8.8 High2025-07-02
CVE-2025-33117 IBM QRadar SIEM 安全漏洞 — QRadar SIEM 9.1 Critical2025-06-19
CVE-2025-36506 RICOH Streamline NX V3 PC Client 安全漏洞 — RICOH Streamline NX V3 PC Client 9.1AICriticalAI2025-06-13
CVE-2024-1244 OSSEC HIDS agent for Windows 安全漏洞 — OSSEC-HIDS Agent 7.5AIHighAI2025-06-11
CVE-2024-1243 Wazuh 安全漏洞 — Wazuh Agent 9.8AICriticalAI2025-06-11
CVE-2025-33053 Microsoft WebDAV 安全漏洞 — Windows 10 Version 1507 8.8 High2025-06-10
CVE-2025-47956 Microsoft Windows 安全漏洞 — Windows Security App 5.5 Medium2025-06-10
CVE-2025-48067 OctoPrint 安全漏洞 — OctoPrint 5.4 Medium2025-06-10
CVE-2025-48783 Soar Cloud System Soar Cloud HRD Human Resource Management System 安全漏洞 — HRD Human Resource Management System 7.5AIHighAI2025-06-06
CVE-2025-48781 Soar Cloud System Soar Cloud HRD Human Resource Management System 安全漏洞 — HRD Human Resource Management System 5.3AIMediumAI2025-06-06
CVE-2025-32802 ISC Kea 安全漏洞 — Kea 6.1 Medium2025-05-28
CVE-2025-4603 WordPress plugin eMagicOne Store Manager for WooCommerce 安全漏洞 — eMagicOne Store Manager for WooCommerce 9.1 Critical2025-05-24
CVE-2025-4602 WordPress plugin eMagicOne Store Manager for WooCommerce 安全漏洞 — eMagicOne Store Manager for WooCommerce 5.9 Medium2025-05-24
CVE-2024-51553 ABB多款产品 安全漏洞 — ASPECT-Enterprise 6.5 Medium2025-05-22
CVE-2025-2409 ABB多款产品 安全漏洞 — ASPECT-Enterprise 9.1 Critical2025-05-22

CWE-73(文件名或路径的外部可控制) 是常见的弱点类别,本平台收录该类弱点关联的 398 条 CVE 漏洞。