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

目标: 1000 元 · 已筹: 1336

100%

CWE-134 使用外部控制的格式字符串 类漏洞列表 138

CWE-134 使用外部控制的格式字符串 类弱点 138 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-134 属于格式化字符串漏洞,指程序将源自外部不可信源的数据直接作为格式化字符串参数使用。攻击者可通过注入特定格式说明符(如 %x、%n)读取栈内存敏感信息或篡改内存数据,导致信息泄露或服务拒绝。开发者应避免直接使用用户输入作为格式化字符串,需采用硬编码格式模板并仅将用户数据作为参数传入,或严格过滤输入内容以消除安全风险。

MITRE CWE 官方描述
CWE:CWE-134 使用外部控制的格式字符串 (Use of Externally-Controlled Format String) 英文:产品使用了接受格式字符串 (format string) 作为参数的函数,但该格式字符串源自外部来源。
常见影响 (2)
Confidentiality Read Memory
Format string problems allow for information disclosure which can severely simplify exploitation of the program.
Integrity, Confidentiality, Availability Modify Memory, Execute Unauthorized Code or Commands
Format string problems can result in the execution of arbitrary code, buffer overflows, denial of service, or incorrect data representation.
缓解措施 (3)
Requirements Choose a language that is not subject to this flaw.
Implementation Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings. [REF-116] [REF-117]
Build and Compilation Run compilers and linkers with high warning levels, since they may detect incorrect usage.
代码示例 (2)
The following program prints a string provided as an argument.
#include <stdio.h> void printWrapper(char *string) { printf(string); } int main(int argc, char **argv) { char buf[5012]; memcpy(buf, argv[1], 5012); printWrapper(argv[1]); return (0); }
Bad · C
The following code copies a command line argument into a buffer using snprintf().
int main(int argc, char **argv){ char buf[128]; ... snprintf(buf,128,argv[1]); }
Bad · C
CVE ID 标题 CVSS 风险等级 Published
CVE-2024-50399 QNAP Systems QTS和QuTS hero 格式化字符串错误漏洞 — QTS 6.5 - 2024-11-22
CVE-2024-50400 QNAP Systems QTS和QuTS hero 格式化字符串错误漏洞 — QTS 6.5 - 2024-11-22
CVE-2024-50401 QNAP Systems QTS和QuTS hero 格式化字符串错误漏洞 — QTS 6.5 - 2024-11-22
CVE-2024-9129 Zend Server 安全漏洞 — Zend Server 9.4AI Critical AI 2024-10-22
CVE-2024-45330 Fortinet FortiAnalyzer 格式化字符串错误漏洞 — FortiAnalyzer 6.8 High 2024-10-08
CVE-2024-39529 Juniper Networks Junos OS SRX 安全漏洞 — Junos OS 7.5 High 2024-07-11
CVE-2024-4641 MOXA OnCell G3470A-LTE 安全漏洞 — OnCell G3150A-LTE Series 6.3 Medium 2024-06-25
CVE-2024-6145 Actiontec Electronics WEB6000Q 格式化字符串错误漏洞 — WCB6200Q 8.8 - 2024-06-18
CVE-2023-36640 Fortinet FortiProxy 格式化字符串错误漏洞 — FortiPAM 6.5 Medium 2024-05-14
CVE-2023-45583 多款Fortinet产品 格式化字符串错误漏洞 — FortiSwitchManager 6.5 Medium 2024-05-14
CVE-2021-34970 Foxit PDF Editor 缓冲区错误漏洞 — PDF Reader 5.5 - 2024-05-07
CVE-2024-23914 Merative Merge DICOM Toolkit 安全漏洞 — Merge DICOM Toolkit C/C++ 5.7 Medium 2024-05-03
CVE-2023-48784 Fortinet FortiOS 格式化字符串错误漏洞 — FortiOS 6.1 Medium 2024-04-09
CVE-2023-41842 Fortinet 多款产品 格式化字符串错误漏洞 — FortiPortal 6.3 Medium 2024-03-12
CVE-2023-29181 Fortinet FortiOS 格式化字符串错误漏洞 — FortiPAM 8.3 High 2024-02-22
CVE-2023-6764 Zyxel ATP 格式化字符串错误漏洞 — ATP series firmware 8.1 High 2024-02-20
CVE-2023-6399 Zyxel ATP 格式化字符串错误漏洞 — ATP series firmware 5.7 Medium 2024-02-20
CVE-2024-23113 Fortinet FortiOS 格式化字符串错误漏洞 — FortiSwitchManager 9.8 Critical 2024-02-15
CVE-2023-24590 Gallagher Controller 6000 格式化字符串错误漏洞 — Controller 6000 7.5 High 2023-12-18
CVE-2023-36639 Fortinet FortiProxy 格式化字符串错误漏洞 — FortiOS 7.0 High 2023-12-13
CVE-2023-48221 Wire-AVS 安全漏洞 — wire-avs 7.3 High 2023-11-20
CVE-2022-26941 Motorola MTM5000 格式化字符串错误漏洞 — Mobile Radio 9.6 Critical 2023-10-19
CVE-2023-41349 ASUS RT-AX88U 格式化字符串错误漏洞 — RT-AX88U 8.8 High 2023-09-18
CVE-2023-39240 ASUS RT-AX56U 格式化字符串错误漏洞 — RT-AX55 7.2 High 2023-09-07
CVE-2023-39239 ASUS RT-AX56U 格式化字符串错误漏洞 — RT-AX55 7.2 High 2023-09-07
CVE-2023-39238 ASUS RT-AX56U 格式化字符串错误漏洞 — RT-AX55 7.2 High 2023-09-07
CVE-2023-4746 TOTOLINK N200RE 格式化字符串错误漏洞 — N200RE V5 8.8 High 2023-09-04
CVE-2023-35087 ASUS RT-AX56U 格式化字符串错误漏洞 — RT-AX56U V2 9.8 Critical 2023-07-21
CVE-2023-35086 ASUS RT-AX56U 格式化字符串错误漏洞 — RT-AX56U V2 7.2 High 2023-07-21
CVE-2023-33011 Zyxel ATP 格式化字符串错误漏洞 — ATP series firmware 8.8 High 2023-07-17

CWE-134(使用外部控制的格式字符串) 是常见的弱点类别,本平台收录该类弱点关联的 138 条 CVE 漏洞。