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

目标: 1000 元 · 已筹: 1000

100.0%

CWE-26 路径遍历:’dir/../filename’ 类漏洞列表 7

CWE-26 路径遍历:’dir/../filename’ 类弱点 7 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-26 属于路径遍历漏洞,指程序未正确过滤外部输入中的“/dir/../filename”序列,导致解析出受限目录外的路径。攻击者利用此缺陷遍历文件系统,访问敏感文件或目录。开发者应避免直接使用用户输入拼接路径,需严格校验输入合法性,采用白名单机制限制字符,或规范化路径后验证其是否仍在预期目录内,从而有效防御此类攻击。

MITRE CWE 官方描述
CWE:CWE-26 路径遍历 (Path Traversal):'/dir/../filename' 英文:产品使用外部输入来构建一个预期位于受限目录内的路径名,但它未能正确中和 "/dir/../filename" 序列,这些序列可能解析到该目录之外的位置。 这允许攻击者遍历文件系统,以访问受限目录之外的文件或目录。'/dir/../filename' 的操纵有助于绕过某些路径遍历保护方案。有时程序仅在输入的开头检查 "../",因此 "/../" 可以绕过该检查。
常见影响 (1)
Confidentiality, IntegrityRead Files or Directories, Modify Files or Directories
缓解措施 (2)
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…
ImplementationInputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
CVE ID标题CVSS风险等级Published
CVE-2025-53908 Romm 安全漏洞 — romm 6.5AIMediumAI2025-07-16
CVE-2024-5866 Delinea Centrify PAS 安全漏洞 — Centrify PAS 5.0 Medium2024-07-02
CVE-2024-5865 Delinea Centrify PAS 安全漏洞 — Centrify PAS 7.7 High2024-07-02
CVE-2024-20345 Cisco AppDynamics Controller 安全漏洞 — Cisco AppDynamics 6.5 Medium2024-03-06
CVE-2023-25802 Roxy-WI 安全漏洞 — roxy-wi 7.5 High2023-03-13
CVE-2021-42021 Siveillance Video DLNA Server 路径遍历漏洞 — Siveillance Video DLNA Server 7.5 -2021-11-09
CVE-2021-34762 Cisco Firepower Management Center 路径遍历漏洞 — Cisco Firepower Management Center 8.1 High2021-10-27

CWE-26(路径遍历:’dir/../filename’) 是常见的弱点类别,本平台收录该类弱点关联的 7 条 CVE 漏洞。