CWE-22 对路径名的限制不恰当(路径遍历) 类弱点 4299 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-22 属于路径遍历漏洞,指程序未正确过滤外部输入中的特殊字符,导致构造的文件路径突破受限目录限制。攻击者常利用“../”等序列访问系统敏感文件,窃取数据或执行恶意操作。开发者应严格校验输入,使用白名单机制限制合法字符,并采用绝对路径或规范化处理,确保最终解析路径始终位于预期目录内,从而有效防御此类风险。
my $dataPath = "/users/cwe/profiles"; my $username = param("user"); my $profilePath = $dataPath . "/" . $username; open(my $fh, "<", $profilePath) || ExitError("profile read error: $profilePath"); print "<ul>\n"; while (<$fh>) { print "<li>$_</li>\n"; } print "</ul>\n";../../../etc/passwdString filename = System.getProperty("com.domain.application.dictionaryFile"); File dictionaryFile = new File(filename);| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2017-6652 | Cisco TelePresence IX5000 Series 安全漏洞 — Cisco TelePresence IX5000 Series | 7.5 | - | 2017-05-18 |
| CVE-2016-10330 | Synology Photo Station 路径遍历漏洞 — Synology Photo Station | 5.5 | - | 2017-05-12 |
| CVE-2016-10331 | Synology Photo Station 路径遍历漏洞 — Synology Photo Station | 5.3 | - | 2017-05-12 |
| CVE-2017-6629 | Cisco Unity Connection 安全漏洞 — Cisco Unity Connection | 7.5 | - | 2017-05-03 |
| CVE-2017-3851 | Cisco IOx Cisco Application-hosting Framework 路径遍历漏洞 — Cisco Application-Hosting Framework | 7.5 | - | 2017-03-22 |
| CVE-2014-2352 | Cogent Real-Time Systems Cogent DataHub 目录遍历漏洞 — DataHub | 9.1 | - | 2014-05-30 |
| CVE-2014-0780 | InduSoft Web Studio 目录遍历漏洞 — Web Studio | 9.8 | - | 2014-04-25 |
| CVE-2014-0750 | GE Intelligent Platforms Proficy HMI/SCADA - CIMPLICITY 目录遍历漏洞 — Proficy HMI/SCADA - CIMPLICITY | 9.8 | - | 2014-01-25 |
| CVE-2014-0751 | GE Intelligent Platforms Proficy HMI/SCADA - CIMPLICITY 目录遍历漏洞 — Proficy HMI/SCADA - CIMPLICITY | 9.8 | - | 2014-01-25 |
CWE-22(对路径名的限制不恰当(路径遍历)) 是常见的弱点类别,本平台收录该类弱点关联的 4299 条 CVE 漏洞。