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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-29 路径遍历:’..filename’ 类漏洞列表 63

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

CWE-29 属于路径遍历漏洞,指程序未正确过滤输入中的“\..\filename”序列,导致解析出受限目录外的文件路径。攻击者利用该缺陷构造恶意路径,突破沙箱限制读取敏感数据或执行任意文件操作。开发者应严格校验输入,使用白名单机制限制字符,并采用安全API规范化路径,确保最终访问位置始终位于预期目录内,从而彻底阻断遍历攻击。

MITRE CWE 官方描述
CWE:CWE-29 路径遍历:'\..\filename' 产品使用外部输入来构造一个应在受限目录内的路径名,但它未能正确中和 '\..\filename'(前导反斜杠点-点)序列,这些序列可能解析到该目录之外的位置。 这允许攻击者遍历文件系统,以访问受限目录之外的文件或目录。这与 CWE-25 类似,只是使用 "\" 而不是 "/"。有时程序会检查输入开头是否有 "..\",因此 "\..\" 可以绕过该检查。这对于绕过仅假设 "/" 分隔符有效的路径遍历保护方案也很有用。
常见影响 (1)
Confidentiality, Integrity Read Files or Directories, Modify Files or Directories
缓解措施 (2)
Implementation Assume 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…
Implementation Inputs 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-2023-0104 Weintek EasyBuilder Pro 路径遍历漏洞 — EasyBuilder Pro cMT 9.3 Critical 2023-02-22
CVE-2023-0316 Froxlor 安全漏洞 — froxlor/froxlor 6.5 - 2023-01-16
CVE-2022-2788 Emerson Proficy Machine Edition 路径遍历漏洞 — Proficy Machine Edition 3.9 Low 2022-08-19

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