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

目标: 1000 元 · 已筹: 1336

100%

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

CWE-88 参数注入或修改 类弱点 238 条 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-2026-28197 NetBackup Flex OS Shell 参数注入提权 — NetBackup Flex OS 8.8 High 2026-09-18
CVE-2026-93337 NetworkManager-l2tp pppd插件注入提权漏洞 — NetworkManager-l2tp 7.8 High 2026-09-17
CVE-2026-55061 uniget CLI EDITOR命令注入漏洞 — cli 1.0 Low 2026-09-17
CVE-2026-89036 Appwrite 2.0.0 前 providerRootDirectory 参数注入漏洞 — appwrite 8.8 High 2026-09-17
CVE-2026-86864 pgAdmin 4 备份工具参数注入漏洞 — pgAdmin 4 8.8 High 2026-09-17
CVE-2026-86862 pgAdmin 4 数据库连接字符串注入漏洞 — pgAdmin 4 6.5 Medium 2026-09-17
CVE-2026-76866 Netcore NR255-V 命令注入漏洞 — NR255-V 7.2 High 2026-09-15
CVE-2026-76862 Netcore NR255-V 命令注入漏洞 — NR255-V 8.8 High 2026-09-15
CVE-2026-54337 Fireshare 未认证参数注入致任意文件写入/覆盖漏洞 — fireshare 9.8 Critical 2026-09-15
CVE-2026-55887 Docker MCP Gateway 容器镜像标签参数注入 — mcp-gateway 8.7 High 2026-09-15
CVE-2026-19624 NetworkManager-l2tp ipsec.conf注入本地提权 7.8 High 2026-09-14
CVE-2026-90809 Data Intelligence Lab@HKU nanobot 输入验证错误漏洞 — nanobot 7.3 High 2026-09-14
CVE-2026-90894 Parallels Desktop 本地权限提升漏洞 — Parallels Desktop for Mac 7.8 High 2026-09-14
CVE-2023-22632 Paessler PRTG Network Monitor 命令注入漏洞 — PRTG Network Monitor 2.7 Low 2026-09-14
CVE-2023-22631 Paessler PRTG Network Monitor 命令注入漏洞 — PRTG Network Monitor 2.7 Low 2026-09-14
CVE-2026-90467 cole aiosmtplib 命令注入漏洞 — aiosmtplib 4.0 Medium 2026-09-12
CVE-2026-11765 TÜBİTAK BİLGEM Pardus Pen 命令注入漏洞 — Pardus Pen 3.3 Low 2026-09-11
CVE-2026-0304 Palo Alto Networks Cortex XDR Broker VM 命令注入漏洞 — Cortex XDR Broker VM 4.8 Medium 2026-09-10
CVE-2026-8044 Schneider Electric EcoStruxure IT Data Center Expert 命令注入漏洞 — EcoStruxure™ IT Data Center Expert (Formerly known as StruxureWare Data Center Expert) 8.6 High 2026-09-09
CVE-2026-87818 gitpython-developers GitPython 命令注入漏洞 — GitPython 6.5 Medium 2026-09-09
CVE-2026-87794 Nathan Friedly bestzip 命令注入漏洞 — bestzip 8.4 High 2026-09-09
CVE-2026-78635 Okta Privileged Access Client 命令注入漏洞 — Okta Privileged Access Client 5.0 Medium 2026-09-08
CVE-2026-71377 Hitachi Cosminexus Component Container 命令注入漏洞 — Cosminexus Component Container 9.8 Critical 2026-09-08
CVE-2026-86060 MikroTik routeros 命令注入漏洞 — RouterOS 9.2 Critical 2026-09-05
CVE-2026-85626 Casey Hand Git MCP Server 命令注入漏洞 — git-mcp-server 7.5 High 2026-09-04
CVE-2026-74237 GFI Exinda AI 命令注入漏洞 — GFI Exinda AI 6.5 Medium 2026-09-04
CVE-2026-79685 Dell PowerStore 命令注入漏洞 — PowerStore 500T 6.5 Medium 2026-09-01
CVE-2026-54085 Wazuh 命令注入漏洞 — wazuh 7.1 High 2026-08-27
CVE-2026-81529 MongoDB C# Driver 命令注入漏洞 — C# Driver 7.1 High 2026-08-27
CVE-2026-80427 Nathan Friedly bestzip 命令注入漏洞 — bestzip 8.4 High 2026-08-26

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