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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-117 日志输出的转义处理不恰当 类漏洞列表 114

CWE-117 日志输出的转义处理不恰当 类弱点 114 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-117属于日志注入漏洞,指程序在记录日志时未对来自外部的输入进行适当的净化处理。攻击者通常利用此缺陷,通过构造包含换行符或特殊字符的恶意输入,强行插入伪造的日志条目,从而掩盖真实攻击痕迹或误导安全分析人员。开发者应避免直接将用户输入拼接至日志字符串,而应采用安全的日志API,并对输入数据进行严格的过滤、转义或验证,确保日志内容的完整性与可信度。

MITRE CWE 官方描述
CWE:CWE-117 日志输出中和不当 (Improper Output Neutralization for Logs) 英文:产品从外部输入构建日志消息,但在将消息写入日志文件时,未对特殊元素进行中和或中和不当。
常见影响 (1)
Integrity, Confidentiality, Availability, Non-Repudiation Modify Application Data, Hide Activities, Execute Unauthorized Code or Commands
Interpretation of the log files may be hindered or misdirected if an attacker can supply data to the application that is subsequently logged verbatim. In the most benign case, an attacker may be able to insert false entries into the log file by providing the application with input that includes appr…
缓解措施 (3)
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 Use and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are i…
Implementation Inputs 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.
代码示例 (1)
The following web application code attempts to read an integer value from a request object. If the parseInt call fails, then the input is logged with an error message indicating what happened.
String val = request.getParameter("val"); try { int value = Integer.parseInt(val); } catch (NumberFormatException) { log.info("Failed to parse val = " + val); } ...
Bad · Java
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-118994 CallBackery 0.62.0 前 Perl 版本登录名日志注入漏洞 - - 2026-10-30
CVE-2026-119423 OPNsense 26.7.8 前 WebGUI 登录用户名锁定 IP 漏洞 — core 5.3 Medium 2026-10-30
CVE-2026-15661 IBM Concert Software 日志注入漏洞 — Concert 5.3 Medium 2026-10-19
CVE-2026-63442 OPNsense WebGUI认证日志伪造漏洞 — core 8.1 High 2026-10-15
CVE-2026-109786 fail2ban 1.1.1前sshd过滤逻辑绕过致IP伪造 — fail2ban 5.3 Medium 2026-10-13
CVE-2026-76267 Splunk O11y Cloud REST API日志注入漏洞 — Splunk Enterprise 4.3 Medium 2026-10-07
CVE-2026-85290 InvoicePlane 日志注入漏洞 — InvoicePlane 5.3 Medium 2026-09-25
CVE-2026-93421 Mesop CSP报告端点无认证ANSI转义序列注入漏洞 — mesop 5.3 Medium 2026-09-23
CVE-2026-6327 IBM Concert 软件多重漏洞 — Concert 4.3 Medium 2026-09-23
CVE-2026-11538 IBM WebSphere Application Server 9.0.5.29前 多漏洞 — WebSphere Application Server 3.7 Low 2026-09-18
CVE-2026-86522 AshAuthentication 日志注入漏洞 — ash_authentication 6.3 Medium 2026-09-17
CVE-2026-84501 Apache ZooKeeper EnsembleAuthenticationProvider 操作日志伪造漏洞 — Apache ZooKeeper - - 2026-09-16
CVE-2026-84439 Apache ZooKeeper 审计日志注入漏洞 — Apache ZooKeeper - - 2026-09-16
CVE-2026-16188 IBM WebSphere 9.0.5.29 及 8.5.5.31 前多漏洞 — WebSphere Application Server 5.3 Medium 2026-09-14
CVE-2026-16189 IBM WebSphere Application Server 9.0.5.29 及 8.5.5.31 前多漏洞 — WebSphere Application Server 4.8 Medium 2026-09-14
CVE-2026-87859 expressjs morgan 输出处理不当漏洞 — morgan 5.3 Medium 2026-09-11
CVE-2026-14350 IBM Cloud Pak for Data System 输出处理不当漏洞 — Cloud Pak for Data System 5.3 Medium 2026-09-04
CVE-2026-9736 IBM Netezza Software 输出处理不当漏洞 — Netezza Software 5.3 Medium 2026-09-03
CVE-2026-15603 expressjs morgan 输出处理不当漏洞 — morgan 5.3 Medium 2026-08-28
CVE-2026-81696 Tobi OpenSSL Encrypt 输出处理不当漏洞 — openssl_encrypt 3.3 Low 2026-08-27
CVE-2026-81695 Tobi OpenSSL Encrypt 输出处理不当漏洞 — openssl_encrypt 3.3 Low 2026-08-27
CVE-2026-81694 Tobi OpenSSL Encrypt 输出处理不当漏洞 — openssl_encrypt 3.3 Low 2026-08-27
CVE-2026-44256 Wazuh 输出处理不当漏洞 — wazuh 5.3 Medium 2026-08-19
CVE-2026-74885 jahlives openssl_encrypt 输出处理不当漏洞 — openssl_encrypt 3.6 Low 2026-08-17
CVE-2026-17481 IBM Documentation Offline 输出处理不当漏洞 — Documentation Offline 8.8 High 2026-08-13
CVE-2026-18148 IBM i 输出处理不当漏洞 — i 4.3 Medium 2026-08-12
CVE-2026-48083 open-reception appointment-booking-software 输出处理不当漏洞 — appointment-booking-software 6.5 Medium 2026-08-06
CVE-2026-12616 Eclipse Project Identity Authority 输出处理不当漏洞 — Eclipse CSI - PIA - - 2026-06-29
CVE-2026-10745 upKeeper Instant Privilege Access 输出处理不当漏洞 — upKeeper Instant Privilege Access - - 2026-06-24
CVE-2026-20260 Splunk SOAR 安全漏洞 — Splunk SOAR 4.3 Medium 2026-06-10

CWE-117(日志输出的转义处理不恰当) 是常见的弱点类别,本平台收录该类弱点关联的 114 条 CVE 漏洞。