目標達成 すべての支援者に感謝 — 100%達成しました!

目標: 1000 CNY · 調達済み: 1336 CNY

100%

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

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

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

MITRE CWE 官方描述
CWE:CWE-117 日志输出中和不当 (Improper Output Neutralization for Logs) 英文:产品从外部输入构建日志消息,但在将消息写入日志文件时,未对特殊元素进行中和或中和不当。
常见影响 (1)
Integrity, Confidentiality, Availability, Non-RepudiationModify 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)
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…
ImplementationUse 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…
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.
代码示例 (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深刻度公開日
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 Log Injection through HTTP Request Paths in Splunk SOAR — Splunk SOAR 4.3 Medium2026-06-10
CVE-2026-9016 Debug Log Manager <= 2.5.0 - Unauthenticated Improper Output Neutralization for Logs via log_js_errors AJAX Action — Debug Log Manager – Conveniently Monitor and Inspect Errors 5.3 Medium2026-06-06
CVE-2026-5078 morgan vulnerable to Log Forging via unneutralized control characters in :remote-user — morgan 5.3 Medium2026-06-03
CVE-2026-45679 OpenTelemetry eBPF Instrumentation: Redis error text is exported in span status messages — opentelemetry-ebpf-instrumentation 6.5 Medium2026-06-02
CVE-2026-6494 Aap-mcp-server: aap mcp server: log injection allows social engineering attacks via unsanitized input — Red Hat Ansible Automation Platform 2 5.3 Medium2026-04-17
CVE-2025-14684 IBM Maximo Application Suite - Monitor Component uses Log Forging which is vulnerable to . — Maximo Application Suite - Monitor Component 4.0 Medium2026-03-25
CVE-2025-59784 Log Pollution - Control Characters Not Escaped — 2N Access Commander 6.5AIMediumAI2026-03-04
CVE-2025-12755 Multiple vulnerabilities in IBM MQ Operator and Queue manager container images — MQ Operator 4.0 Medium2026-02-17
CVE-2025-11537 Keycloak-server: sensitive headers shown in the http access logs — Red Hat Build of Keycloak 5.0 Medium2026-02-10
CVE-2026-1337 Insufficient escaping of unicode characters in query log — Enterprise Edition 6.1AIMediumAI2026-02-06
CVE-2025-66577 cpp-httplib Untrusted HTTP Header Handling: X-Forwarded-For/X-Real-IP Trust — cpp-httplib 5.3 Medium2025-12-05
CVE-2025-20384 Unauthenticated Log Injection in Splunk Enterprise — Splunk Enterprise 5.3 Medium2025-12-03
CVE-2025-36159 IBM Concert Improper Log Neutralization — Concert 6.2 Medium2025-11-20
CVE-2025-11627 Site Checkup AI Troubleshooting with Wizard and Tips for Each Issue <= 1.47 - Unauthenticated Log File Poisoning — Site Checkup Debug AI Troubleshooting with Wizard and Tips for Each Issue 6.5 Medium2025-10-30
CVE-2025-36081 Multiple Vulnerabilities in IBM Concert Software. — Concert Software 5.3 Medium2025-10-28
CVE-2025-58580 Injection via log file — Enterprise Analytics 6.5 Medium2025-10-06
CVE-2025-10217 Hitachi Energy Asset Suite 安全漏洞 — Asset Suite 4.3AIMediumAI2025-09-30
CVE-2025-54812 Apache Log4cxx: Improper HTML escaping in HTMLLayout — Apache Log4cxx 6.1AIMediumAI2025-08-22
CVE-2025-54813 Apache Log4cxx: Improper escaping with JSONLayout — Apache Log4cxx 5.3AIMediumAI2025-08-22
CVE-2025-54389 AIDE improper output neutralization vulnerability — aide 6.2 Medium2025-08-14
CVE-2025-54656 Apache Struts Extras: Improper Output Neutralization for Logs — Apache Struts Extras 5.3AIMediumAI2025-07-30
CVE-2025-49846 wire-ios accidentally logs message contents — wire-ios 4.6AIMediumAI2025-07-03
CVE-2025-48432 Django 安全漏洞 — Django 4.0 Medium2025-06-05
CVE-2024-13949 Log Forging — ASPECT-Enterprise 6.8 Medium2025-05-22
CVE-2025-3942 Improper Output Neutralization for Logs — Niagara Framework 4.3 Medium2025-05-22
CVE-2025-41429 appleple a-blog cms 安全漏洞 — a-blog cms 4.8 Medium2025-05-19
CVE-2025-36625 Log Poisoning in Nessus — Nessus 4.3 Medium2025-04-18
CVE-2024-52962 Fortinet FortiAnalyzer 安全漏洞 — FortiAnalyzer 5.0 Medium2025-04-08

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