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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-96 静态存储代码中指令转义处理不恰当(静态代码注入) 类漏洞列表 24

CWE-96 静态存储代码中指令转义处理不恰当(静态代码注入) 类弱点 24 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-96指静态代码注入,属输入验证缺陷。攻击者通过向库、配置文件或模板等可执行资源注入恶意代码语法,利用程序未正确清洗输入的特性,实现远程代码执行或逻辑篡改。开发者需严格实施输入验证与白名单过滤,确保动态数据不被直接嵌入静态代码结构中,从而阻断注入路径,保障系统安全。

MITRE CWE 官方描述
CWE:CWE-96 静态保存代码中指令的不当中和('Static Code Injection') 英文:产品从上游组件接收输入,但在将输入插入可执行资源(如库、配置文件或模板)之前,未对代码语法进行中和或中和不当。
常见影响 (5)
Confidentiality Read Files or Directories, Read Application Data
The injected code could access restricted data / files.
Access Control Bypass Protection Mechanism
In some cases, injectable code controls authentication; this may lead to a remote vulnerability.
Access Control Gain Privileges or Assume Identity
Injected code can access resources that the attacker is directly prevented from accessing.
Integrity, Confidentiality, Availability, Other Execute Unauthorized Code or Commands
Code injection attacks can lead to loss of data integrity in nearly all cases as the control-plane data injected is always incidental to data recall or writing. Additionally, code injection can often result in the execution of arbitrary code.
Non-Repudiation Hide Activities
Often the actions performed by injected control code are unlogged.
缓解措施 (2)
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 Perform proper output validation and escaping to neutralize all code syntax from data written to code files.
代码示例 (1)
This example attempts to write user messages to a message file and allow users to view them.
$MessageFile = "messages.out"; if ($_GET["action"] == "NewMessage") { $name = $_GET["name"]; $message = $_GET["message"]; $handle = fopen($MessageFile, "a+"); fwrite($handle, "<b>$name</b> says '$message'<hr>\n"); fclose($handle); echo "Message Saved!<p>\n"; } else if ($_GET["action"] == "ViewMessages") { include($MessageFile); }
Bad · PHP
name=h4x0r message=%3C?php%20system(%22/bin/ls%20-l%22);?%3E
Attack
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-85475 Ansible Automation Controller rsyslog注入导致远程代码执行漏洞 — Red Hat Ansible Automation Platform 2.7 7.2 High 2026-09-23
CVE-2026-68489 Plesk扩展Ruby及Node.js Toolkit静态代码注入漏洞 — Plesk extension "Ruby" 8.7 High 2026-09-14
CVE-2026-86218 N-able n-central 代码注入漏洞 — N-central 10.0 Critical 2026-09-06
CVE-2025-57707 QNAP Systems File Station 5 安全漏洞 — File Station 5 6.5AI Medium AI 2026-02-11
CVE-2025-7825 WordPress plugin The Schema Plugin For Divi, Gutenberg & Shortcodes 安全漏洞 — Schema Plugin For Divi, Gutenberg & Shortcodes 6.3 Medium 2025-10-03
CVE-2025-36595 Dell Unisphere 安全漏洞 — Unisphere for PowerMax vApp 7.2 High 2025-06-27
CVE-2015-2079 Webmin Usermin 安全漏洞 — Usermin 9.9 Critical 2025-04-28
CVE-2025-30091 Tiny MoxieManager 安全漏洞 — MoxieManager PHP 9.8AI Critical AI 2025-03-25
CVE-2024-13268 Drupal 安全漏洞 — Opigno 9.8 - 2025-01-09
CVE-2024-13267 Drupal 安全漏洞 — Opigno TinCan Question Type 9.8 - 2025-01-09
CVE-2024-13265 Drupal 安全漏洞 — Opigno Learning path 8.8 - 2025-01-09
CVE-2024-13264 Drupal 安全漏洞 — Opigno module 9.8 - 2025-01-09
CVE-2024-13263 Drupal 安全漏洞 — Opigno group manager 8.8 - 2025-01-09
CVE-2024-55877 XWiki Platform 安全漏洞 — xwiki-platform 10.0 Critical 2024-12-12
CVE-2024-55662 XWiki Platform 安全漏洞 — xwiki-platform 10.0 Critical 2024-12-12
CVE-2024-43400 XWiki Platform 安全漏洞 — xwiki-platform 9.1 Critical 2024-08-19
CVE-2024-37900 XWiki Platform 安全漏洞 — xwiki-platform 6.4 Medium 2024-07-31
CVE-2024-0788 SUPERAntiSpyware Pro X 安全漏洞 — SUPERAntiSpyware Pro X 6.6 Medium 2024-01-29
CVE-2022-3960 Hitachi Vantara Pentaho Business Analytics Server 代码注入漏洞 — Pentaho Business Analytics Server 6.3 Medium 2023-04-03
CVE-2022-43938 Hitachi Vantara Pentaho Business Analytics Server 代码注入漏洞 — Pentaho Business Analytics Server 8.8 High 2023-04-03
CVE-2022-0895 Microweber 安全漏洞 — microweber/microweber 9.8 - 2022-03-10
CVE-2021-39115 Atlassian Jira 代码注入漏洞 — Jira Service Desk Server 7.2 - 2021-09-01
CVE-2020-6144 Open Solutions for Education openSIS 代码注入漏洞 — OS4Ed 9.8 - 2020-09-01
CVE-2020-6143 Open Solutions for Education openSIS 代码注入漏洞 — OS4Ed 9.8 - 2020-09-01

CWE-96(静态存储代码中指令转义处理不恰当(静态代码注入)) 是常见的弱点类别,本平台收录该类弱点关联的 24 条 CVE 漏洞。