目标达成 感谢每一位支持者 — 我们达成了 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-2025-23405 Dario Health USB-C Blood Glucose Monitoring System 安全漏洞 — USB-C Blood Glucose Monitoring System Starter Kit Android Applications 5.3 Medium 2025-02-28
CVE-2024-49355 IBM OpenPages with Watson 安全漏洞 — OpenPages with Watson 5.3 Medium 2025-02-20
CVE-2024-56473 IBM Aspera Shares 安全漏洞 — Aspera Shares 5.3 Medium 2025-02-05
CVE-2025-0754 Red Hat OpenShift Service Mesh 安全漏洞 4.3 Medium 2025-01-28
CVE-2024-35150 IBM Maximo Application Suite 安全漏洞 — Maximo Application Suite 5.3 Medium 2025-01-25
CVE-2024-52891 IBM Concert 安全漏洞 — Concert Software 5.4 Medium 2025-01-07
CVE-2024-7696 AXIS Camera Station Pro 安全漏洞 — AXIS Camera Station Pro 6.3 Medium 2025-01-07
CVE-2024-47083 Microsoft Power Platform Terraform Provider 安全漏洞 — terraform-provider-power-platform 6.5AI Medium AI 2024-09-25
CVE-2024-45808 Envoy 安全漏洞 — envoy 6.5 Medium 2024-09-19
CVE-2024-8334 Sweet-CMS 安全漏洞 — Sweet-CMS 4.3 Medium 2024-08-30
CVE-2024-8297 Digital Library Management System 安全漏洞 — Digital Library Management System 5.3 Medium 2024-08-29
CVE-2024-23194 Gallagher Command Centre 安全漏洞 — Command Centre 3.3 Low 2024-07-11
CVE-2024-0095 NVIDIA Triton Inference Server 安全漏洞 — NVIDIA Triton Inference Server 4.3 Critical 2024-06-13
CVE-2023-28952 IBM Cognos Controller 安全漏洞 — Cognos Controller 5.3 Medium 2024-05-03
CVE-2023-39461 Triangle MicroWorks SCADA Data Gateway 安全漏洞 — SCADA Data Gateway 8.8 - 2024-05-03
CVE-2024-25047 IBM Cognos Analytics 安全漏洞 — Cognos Analytics 8.6 High 2024-05-02
CVE-2023-6484 Red Hat Keycloak 安全漏洞 5.3 Medium 2024-04-25
CVE-2024-1681 Flask-CORS 安全漏洞 — corydolphin/flask-cors 6.5 - 2024-04-19
CVE-2024-22356 多款IBM产品安全漏洞 — App Connect Enterprise 4.9 Medium 2024-03-26
CVE-2024-0690 Red Hat Ansible 安全漏洞 5.0 Medium 2024-02-06
CVE-2023-38020 IBM QRadar SOAR Plug-in 安全漏洞 — SOAR QRadar Plugin App 4.3 Medium 2024-02-02
CVE-2024-0987 Sichuan Yougou Technology KuERP 安全漏洞 — KuERP 6.3 Medium 2024-01-29
CVE-2024-22229 Dell Unity 安全漏洞 — Unity 3.1 Low 2024-01-24
CVE-2023-7234 Integration Objects OPC UA Server Toolkit 安全漏洞 — OPC UA Server Toolkit 5.3 Medium 2024-01-16
CVE-2023-46713 Fortinet FortiWeb 安全漏洞 — FortiWeb 4.9 Medium 2023-12-13
CVE-2023-6002 YugabyteDB 跨站脚本漏洞 — YugabyteDB 6.5 Medium 2023-11-07
CVE-2023-4065 Red Hat AMQ Broker 安全漏洞 — RHEL-8 based Middleware Containers 5.5 Medium 2023-09-26
CVE-2023-4571 Splunk 注入漏洞 — Splunk ITSI 8.6 High 2023-08-30
CVE-2023-3997 Splunk 注入漏洞 — Splunk SOAR (On-premises) 8.6 High 2023-07-31
CVE-2023-37275 Auto-GPT 安全漏洞 — Auto-GPT 3.1 Low 2023-07-13

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