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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-88 参数注入或修改 类漏洞列表 286

CWE-88 参数注入或修改 类弱点 286 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-88 属于参数注入漏洞,指程序在构建外部命令字符串时,未正确界定参数边界。攻击者通过注入特殊字符(如空格或引号),将恶意参数伪装成合法选项,从而执行非预期的系统命令。开发者应避免直接拼接用户输入,转而使用接受独立参数数组的 API 调用命令,或严格过滤输入中的特殊字符,以确保命令解析的准确性与安全性。

MITRE CWE 官方描述
CWE:CWE-88 命令中的参数分隔符处理不当('Argument Injection') 英文:产品为在另一个控制域中的独立组件执行的命令构建字符串,但未正确分隔该命令字符串内的预期参数、选项或开关。 在使用字符串插值创建命令时,开发人员可能假设仅会处理其指定的参数/选项。当程序员以某种方式对命令进行编码以防止恶意提供单独的命令时(例如,针对 shell 元字符的情况),这种假设可能会更加强烈。在构建命令时,开发人员可能会使用空格或其他分隔符,这些分隔符在命令执行时用于分隔参数。然而,如果攻击者能够提供包含参数分隔符的不可信输入,则生成的命令将包含比开发人员预期更多的参数。攻击者随后可能能够改变命令的行为。根据多余参数所支持的功能,这可能会产生与安全相关的后果。
常见影响 (1)
Confidentiality, Integrity, Availability, Other Execute Unauthorized Code or Commands, Alter Execution Logic, Read Application Data, Modify Application Data
An attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified or could cause other unintended behavior.
缓解措施 (5)
Implementation Where possible, avoid building a single string that contains the command and its arguments. Some languages or frameworks have functions that support specifying independent arguments, e.g. as an array, which is used to automatically perform the appropriate quoting or escaping while building the command. For example, in PHP, escapeshellarg() can be used to escape a single argument to system(), or …
Effectiveness: High
Architecture and Design Understand all the potential areas where untrusted inputs can enter your product: parameters or arguments, cookies, anything read from the network, environment variables, request headers as well as content, URL components, e-mail, files, databases, and any external systems that provide data to the application. Perform input validation at well-defined interfaces.
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 Directly convert your input type into the expected data type, such as using a conversion function that translates a string into a number. After converting to the expected data type, ensure that the input's values fall within the expected range of allowable values and that multi-field consistencies are maintained.
Implementation Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180, CWE-181). Make sure that your application does not inadvertently decode the same input twice (CWE-174). Such errors could be used to bypass allowlist schemes by introducing dangerous inputs after they have been checked. Use libraries such as the OWASP ESAPI Canonicalizat…
代码示例 (2)
Consider the following program. It intends to perform an "ls -l" on an input filename. The validate_name() subroutine performs validation on the input to make sure that only alphanumeric and "-" characters are allowed, which avoids path traversal (CWE-22) and OS command injection (CWE-78) weaknesses. Only filenames like "abc" or "d-e-f" are intended to be allowed.
my $arg = GetArgument("filename"); do_listing($arg); sub do_listing { my($fname) = @_; if (! validate_name($fname)) { print "Error: name is not well-formed!\n"; return; } # build command my $cmd = "/bin/ls -l $fname"; system($cmd); } sub validate_name { my($name) = @_; if ($name =~ /^[\w\-]+$/) { return(1); } else { return(0); } }
Bad · Perl
if ($name =~ /^\w[\w\-]+$/) ...
Good · Perl
CVE-2016-10033 / [REF-1249] provides a useful real-world example of this weakness within PHPMailer.
CVE ID 标题 CVSS 风险等级 Published
CVE-2025-32459 Quantenna Communications Quantenna Wi-Fi chipset 安全漏洞 — Quantenna Wi-Fi chipset 7.7 High 2025-06-08
CVE-2025-32458 Quantenna Communications Quantenna Wi-Fi chipset 安全漏洞 — Quantenna Wi-Fi chipset 7.7 High 2025-06-08
CVE-2025-32457 Quantenna Communications Quantenna Wi-Fi chipset 安全漏洞 — Quantenna Wi-Fi chipset 7.7 High 2025-06-08
CVE-2025-32456 Quantenna Communications Quantenna Wi-Fi chipset 安全漏洞 — Quantenna Wi-Fi chipset 7.7 High 2025-06-08
CVE-2025-32455 Quantenna Communications Quantenna Wi-Fi chipset 安全漏洞 — Quantenna Wi-Fi chipset 7.7 High 2025-06-08
CVE-2025-3460 Quantenna Communications Quantenna Wi-Fi chipset 安全漏洞 — Quantenna Wi-Fi chipset 7.7 High 2025-06-08
CVE-2025-3459 Quantenna Wi-Fi chipset 安全漏洞 — Quantenna Wi-Fi chipset 7.7 High 2025-06-08
CVE-2025-3945 Tridium Niagara Framework和Tridium Niagara Enterprise Security 安全漏洞 — Niagara Framework 7.2 High 2025-05-22
CVE-2025-1712 Checkmk 安全漏洞 — Checkmk 6.5AI Medium AI 2025-05-21
CVE-2025-31499 Jellyfin 参数注入漏洞 — jellyfin 8.8AI High AI 2025-04-15
CVE-2025-32931 Voyager 安全漏洞 — Voyager 9.1 Critical 2025-04-14
CVE-2024-47516 Pagure 参数注入漏洞 9.8 Critical 2025-03-25
CVE-2025-29768 Vim 参数注入漏洞 — vim 4.4 Medium 2025-03-13
CVE-2025-24845 Humming Heads Defense Platform 参数注入漏洞 — Defense Platform Home Edition 7.5 - 2025-02-06
CVE-2025-0065 TeamViewer 安全漏洞 — Remote Full Client 7.8 High 2025-01-28
CVE-2022-31749 WatchGuard Fireware OS 安全漏洞 — Fireware OS 6.5 Medium 2025-01-27
CVE-2024-9131 Arista NG Firewall 安全漏洞 — Arista Edge Threat Management 7.2 High 2025-01-10
CVE-2025-21613 go-git 参数注入漏洞 — go-git 9.1 - 2025-01-06
CVE-2024-51532 Dell PowerStore 参数注入漏洞 — PowerStore 7.1 High 2024-12-19
CVE-2024-11633 Ivanti Connect Secure 安全漏洞 — Connect Secure 9.1 Critical 2024-12-10
CVE-2021-1484 Cisco SD-WAN vManage 参数注入漏洞 — Cisco Catalyst SD-WAN Manager 6.5 Medium 2024-11-15
CVE-2024-52301 Laravel 参数注入漏洞 — framework 6.5AI Medium AI 2024-11-12
CVE-2024-47553 Siemens SINEC Security Monitor 参数注入漏洞 — SINEC Security Monitor 9.9 Critical 2024-10-08
CVE-2024-21533 ggit 安全漏洞 — ggit 6.5 Medium 2024-10-08
CVE-2024-20444 Cisco Nexus Dashboard 安全漏洞 — Cisco Data Center Network Manager 5.5 Medium 2024-10-02
CVE-2024-47611 XZ Utils 安全漏洞 — xz 9.4 - 2024-10-02
CVE-2024-7573 WordPress plugin Relevanssi Live Ajax Search 安全漏洞 — Relevanssi Live Ajax Search 5.3 Medium 2024-08-28
CVE-2024-35307 Pandora 安全漏洞 — Pandora FMS 9.8 - 2024-06-10
CVE-2024-2422 NetBox 安全漏洞 — NetBox 8.8AI High AI 2024-05-30
CVE-2023-50232 Inductive Automation Ignition 安全漏洞 — Ignition 8.8 - 2024-05-03

CWE-88(参数注入或修改) 是常见的弱点类别,本平台收录该类弱点关联的 286 条 CVE 漏洞。