Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-146 (表达式/命令分隔符转义处理不恰当) — Vulnerability Class 9

9 vulnerabilities classified as CWE-146 (表达式/命令分隔符转义处理不恰当). AI Chinese analysis included.

CWE-146 represents a critical input validation weakness where software fails to properly sanitize special characters that function as delimiters for expressions or commands. This flaw typically arises when an application accepts untrusted data from an upstream source and passes it directly to a downstream component, such as a command interpreter or query engine, without adequate neutralization. Attackers exploit this vulnerability by injecting malicious delimiters, such as semicolons or pipes, into the input stream. These injected characters trick the downstream process into interpreting the injected data as executable commands or distinct query segments, leading to unintended actions like arbitrary code execution or data exfiltration. To mitigate this risk, developers must rigorously validate and escape all user-supplied inputs, ensuring that delimiter characters are either strictly prohibited or safely encoded before being processed by sensitive downstream systems.

MITRE CWE Description
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as expression or command delimiters when they are sent to a downstream component. As data is parsed, an injected/absent/malformed delimiter may cause the process to take unexpected actions.
Common Consequences (1)
Confidentiality, Integrity, Availability, OtherExecute Unauthorized Code or Commands, Alter Execution Logic
Mitigations (4)
Developers should anticipate that inter-expression and inter-command delimiters will be injected/removed/manipulated in the input vectors of their product. Use an appropriate combination of denylists and allowlists to ensure only valid, expected and appropriate input is processed by the system.
ImplementationAssume 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…
ImplementationWhile it is risky to use dynamically-generated query strings, code, or commands that mix control and data together, sometimes it may be unavoidable. Properly quote arguments and escape any special characters within those arguments. The most conservative approach is to escape or filter all characters that do not pass an extremely strict allowlist (such as everything that is not alphanumeric or whit…
ImplementationInputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
CVE IDTitleCVSSSeverityPublished
CVE-2026-22266 Dell PowerProtect Data Manager(PPDM) 安全漏洞 — PowerProtect Data Manager 4.7 Medium2026-02-19
CVE-2025-53192 Apache Commons OGNL: Expression Injection leading to RCE — Apache Commons OGNL 9.8 -2025-08-18
CVE-2025-20237 Cisco Secure Firewall Adaptive Security Appliance和Cisco Secure Firewall Threat Defense 安全漏洞 — Cisco Adaptive Security Appliance (ASA) Software 6.0 Medium2025-08-14
CVE-2024-20329 Cisco Adaptive Security Appliance Software Remote Command Injection Vulnerability — Cisco Adaptive Security Appliance (ASA) Software 9.9 Critical2024-10-23
CVE-2024-20470 Cisco RV340, RV340W, RV345, and RV345P Dual WAN Gigabit VPN Routers Remote Code Execution Vulnerability — Cisco Small Business RV Series Router Firmware 7.2 -2024-10-02
CVE-2023-20117 Cisco Small Business RV320 and RV325 Dual Gigabit WAN VPN Routers Command Injection Vulnerabilities — Cisco Small Business RV Series Router Firmware 7.2 High2023-04-05
CVE-2023-20128 Cisco Small Business RV320 and RV325 Dual Gigabit WAN VPN Routers Command Injection Vulnerabilities — Cisco Small Business RV Series Router Firmware 7.2 High2023-04-05
CVE-2023-20035 Cisco IOS XE SD-WAN Software Command Injection Vulnerability — Cisco IOS XE Software 7.8 High2023-03-23
CVE-2022-4055 xdg-utils 安全漏洞 — xdg-utils 7.4 -2022-11-18

Vulnerabilities classified as CWE-146 (表达式/命令分隔符转义处理不恰当) represent 9 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.