CWE-23 相对路径遍历 类弱点 472 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-23 相对路径遍历漏洞源于软件未正确过滤外部输入中的“..”序列,导致构造的文件路径突破受限目录边界。攻击者通常利用此缺陷读取或修改系统敏感文件,获取未授权访问权限。开发者应避免直接使用用户输入拼接路径,需通过白名单验证、规范化路径或限制访问范围来彻底中和危险字符,从而防止路径逃逸。
http://example.com/get-files.jsp?file=report.pdf http://example.com/get-page.php?home=aaa.html http://example.com/some-page.asp?page=index.html
http://example.com/get-files?file=../../../../somedir/somefile http://example.com/../../../../etc/shadow http://example.com/get-files?file=../../../../etc/passwd
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
| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2022-42476 | Fortinet FortiOS 路径遍历漏洞 — FortiOS | 7.8 | High | 2023-03-07 |
| CVE-2023-1112 | WordPress plugin Drag and Drop Multiple File Upload Contact Form 7 路径遍历漏洞 — Drag and Drop Multiple File Upload Contact Form 7 | 4.7 | Medium | 2023-03-01 |
| CVE-2022-3162 | Kubernetes 路径遍历漏洞 — Kubernetes | 6.5 | Medium | 2023-03-01 |
| CVE-2023-0511 | ForgeRock Access Management 路径遍历漏洞 — Access Management Java Policy Agent | 9.1 | Critical | 2023-02-28 |
| CVE-2023-0339 | ForgeRock Access Management 路径遍历漏洞 — Access Management Web Policy Agent | 9.1 | Critical | 2023-02-28 |
| CVE-2023-1045 | MuYuCMS 路径遍历漏洞 — MuYuCMS | 3.8 | Low | 2023-02-26 |
| CVE-2023-1044 | MuYuCMS 路径遍历漏洞 — MuYuCMS | 4.3 | Medium | 2023-02-26 |
| CVE-2023-1043 | MuYuCMS 路径遍历漏洞 — MuYuCMS | 4.3 | Medium | 2023-02-26 |
| CVE-2023-23778 | Fortinet FortiWeb 路径遍历漏洞 — FortiWeb | 4.7 | Medium | 2023-02-16 |
| CVE-2023-23784 | Fortinet FortiWeb 路径遍历漏洞 — FortiWeb | 5.6 | Medium | 2023-02-16 |
| CVE-2022-30299 | Fortinet FortiWeb 路径遍历漏洞 — FortiWeb | 5.0 | Medium | 2023-02-16 |
| CVE-2022-30300 | Fortinet FortiWeb 路径遍历漏洞 — FortiWeb | 6.2 | Medium | 2023-02-16 |
| CVE-2022-41335 | Fortinet FortiOS和FortiSwitch 路径遍历漏洞 — FortiSwitchManager | 8.6 | High | 2023-02-16 |
| CVE-2023-23379 | Microsoft Defender 安全漏洞 — Microsoft Defender for IoT | 7.8 | High | 2023-02-14 |
| CVE-2023-0745 | Yugabyte YugabyteDB Managed 路径遍历漏洞 — YugabyteDB Anywhere | 6.7 | Medium | 2023-02-09 |
| CVE-2022-29844 | Western Digital My Cloud 路径遍历漏洞 — My Cloud | 6.7 | Medium | 2023-01-25 |
| CVE-2023-20040 | Cisco Network Services Orchestrator 代码问题漏洞 — Cisco Network Services Orchestrator | 5.5 | Medium | 2023-01-19 |
| CVE-2022-38205 | Esri Portal for ArcGIS 路径遍历漏洞 — ArcGIS Enterprise | 8.6 | High | 2022-12-30 |
| CVE-2022-38202 | Esri ArcGIS Server 路径遍历漏洞 — ArcGIS Server | 7.5 | High | 2022-12-28 |
| CVE-2022-23854 | AVEVA InTouch Access Anywhere Secure Gateway 路径遍历漏洞 — InTouch Access Anywhere | 7.5 | High | 2022-12-23 |
| CVE-2022-23531 | GuardDog 路径遍历漏洞 — guarddog | 5.8 | Medium | 2022-12-16 |
| CVE-2022-4123 | Buildah 路径遍历漏洞 — podman | 4.0 | - | 2022-12-08 |
| CVE-2022-42892 | Siemens syngo Dynamics 路径遍历漏洞 — syngo Dynamics | 5.3 | - | 2022-11-17 |
| CVE-2021-38399 | Honeywell Experion PKS和Ace Controllers 路径遍历漏洞 — Experion PKS | 7.5 | High | 2022-10-28 |
| CVE-2022-22245 | Juniper Networks Junos OS 路径遍历漏洞 — Junos OS | 4.3 | Medium | 2022-10-18 |
| CVE-2022-33937 | Dell GeoDrive 路径遍历漏洞 — GeoDrive | 7.1 | High | 2022-10-12 |
| CVE-2022-2922 | DNN 路径遍历漏洞 — dnnsoftware/dnn.platform | 7.5 | - | 2022-09-30 |
| CVE-2022-28814 | Carlo Gavazzi UWP 路径遍历漏洞 — UWP 3.0 Monitoring Gateway and Controller | 9.8 | Critical | 2022-09-28 |
| CVE-2022-36081 | wikmd 路径遍历漏洞 — wikmd | 7.5 | High | 2022-09-07 |
| CVE-2022-34378 | Dell PowerScale OneFS 路径遍历漏洞 — PowerScale OneFS | 5.5 | Medium | 2022-09-02 |
CWE-23(相对路径遍历) 是常见的弱点类别,本平台收录该类弱点关联的 472 条 CVE 漏洞。