CWE-22 对路径名的限制不恰当(路径遍历) 类弱点 5207 条 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/passwd
String filename = System.getProperty("com.domain.application.dictionaryFile"); File dictionaryFile = new File(filename);
| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2021-32981 | AVEVA System Platform 路径遍历漏洞 — AVEVA System Platform | 7.2 | High | 2022-04-04 |
| CVE-2022-1166 | WordPress和WordPress plugin 路径遍历漏洞 — Noo JobMonster | 5.3 | - | 2022-04-04 |
| CVE-2022-24785 | Moment.js 路径遍历漏洞 — moment | 7.5 | High | 2022-04-04 |
| CVE-2022-0679 | WordPress plugin Narnoo Distributor 路径遍历漏洞 — Narnoo Distributor | 9.8 | - | 2022-03-28 |
| CVE-2022-0493 | WordPress plugin String locator 路径遍历漏洞 — String locator | 4.9 | - | 2022-03-28 |
| CVE-2021-24962 | WordPress plugin WordPress File Upload Free and Pro 路径遍历漏洞 — WordPress File Upload | 8.8 | - | 2022-03-28 |
| CVE-2021-22797 | Schneider Electric EcoStruxure Control Expert 路径遍历漏洞 — EcoStruxure Control Expert | 7.8 | High | 2022-03-28 |
| CVE-2021-22794 | Schneider Electric StruxureWare Data Center Expert 路径遍历漏洞 — StruxureWare Data Center Expert | 9.1 | Critical | 2022-03-28 |
| CVE-2022-24731 | GitHub argo-cd 访问控制错误漏洞 — argo-cd | 6.8 | Medium | 2022-03-23 |
| CVE-2022-24730 | GitHub argo-cd 访问控制错误漏洞 — argo-cd | 7.7 | High | 2022-03-23 |
| CVE-2021-27471 | Rockwell Automation Connected Components Workbench 路径遍历漏洞 — Connected Components Workbench | 7.7 | High | 2022-03-23 |
| CVE-2021-27473 | Rockwell Automation Connected Components Workbench 路径遍历漏洞 — Connected Components Workbench | 6.1 | Medium | 2022-03-23 |
| CVE-2022-1000 | TinyFileManager 路径遍历漏洞 — prasathmani/tinyfilemanager | 9.8 | - | 2022-03-17 |
| CVE-2022-25249 | PTC Axeda agent 路径遍历漏洞 — Axeda agent | 7.5 | High | 2022-03-16 |
| CVE-2021-24692 | WordPress plugin 路径遍历漏洞 — Simple Download Monitor | 6.5 | - | 2022-03-14 |
| CVE-2022-24715 | Icinga Web 2 路径遍历漏洞 — icingaweb2 | 8.5 | High | 2022-03-08 |
| CVE-2022-24716 | Icinga Web 2 路径遍历漏洞 — icingaweb2 | 7.5 | High | 2022-03-08 |
| CVE-2021-3762 | Clair 路径遍历漏洞 — quay/claircore | 9.8 | - | 2022-03-03 |
| CVE-2022-24718 | Ssr Pages Builder 路径遍历漏洞 — ssr-pages | 7.6 | High | 2022-03-01 |
| CVE-2021-24820 | WordPress plugin Cost Calculator 路径遍历漏洞 — Cost Calculator | 8.1 | - | 2022-02-28 |
| CVE-2021-24689 | WordPress plugin 路径遍历漏洞 — Contact Forms – Drag & Drop Contact Form Builder | 4.9 | - | 2022-02-28 |
| CVE-2022-23612 | OpenMRS 路径遍历漏洞 — openmrs-core | 7.5 | High | 2022-02-22 |
| CVE-2022-0665 | Pimcore 路径遍历漏洞 — pimcore/pimcore | 6.5 | - | 2022-02-22 |
| CVE-2021-25082 | WordPress plugin Popup Builder 路径遍历漏洞 — Popup Builder – Create highly converting, mobile friendly marketing popups. | 8.8 | - | 2022-02-21 |
| CVE-2021-26619 | BigFileAgent 安全漏洞 — BigFileAgent | 7.1 | High | 2022-02-18 |
| CVE-2022-0673 | LemMinX 路径遍历漏洞 — LemMinX | 5.3 | - | 2022-02-18 |
| CVE-2021-22804 | Schneider Electric IGSS 路径遍历漏洞 — Interactive Graphical SCADA System Data Collector (dc.exe) (V15.0.0.21243 and prior) | 7.5 | - | 2022-02-11 |
| CVE-2020-14523 | Mitsubishi Electric Factory Automation 产品路径遍历漏洞 — CW Configurator | 8.3 | High | 2022-02-11 |
| CVE-2021-22748 | Schneider Electric C-Bus Toolkit 路径遍历漏洞 — C-Bus Toolkit (V1.15.9 and prior), C-Gate Server (V2.11.7 and prior) | 9.8 | - | 2022-02-11 |
| CVE-2022-24311 | Schneider Electric Interactive Graphical SCADA System 路径遍历漏洞 — Interactive Graphical SCADA System Data Server (V15.0.0.22020 and prior) | 9.8 | - | 2022-02-09 |
CWE-22(对路径名的限制不恰当(路径遍历)) 是常见的弱点类别,本平台收录该类弱点关联的 5207 条 CVE 漏洞。