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

目标: 1000 元 · 已筹: 1336

100%

CWE-321 使用硬编码的密码学密钥 类漏洞列表 319

CWE-321 使用硬编码的密码学密钥 类弱点 319 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-321 指软件在代码中硬编码了不可更改的加密密钥。攻击者通过逆向工程提取该密钥,即可解密受保护数据或伪造合法通信,严重破坏机密性与完整性。开发者应避免此类做法,改用动态密钥管理机制,如从安全密钥库、环境变量或硬件安全模块中运行时获取密钥,确保密钥可轮换且不与源代码一同发布。

MITRE CWE 官方描述
CWE:CWE-321 使用硬编码的加密密钥(Use of Hard-coded Cryptographic Key) 英文:The product uses a hard-coded, unchangeable cryptographic key. 译文:该产品使用了硬编码且不可更改的加密密钥(cryptographic key)。
常见影响 (1)
Access Control Bypass Protection Mechanism, Gain Privileges or Assume Identity, Read Application Data
If hard-coded cryptographic keys are used, it is almost certain that malicious users will gain access through the account in question. The use of a hard-coded cryptographic key significantly increases the possibility that encrypted data may be recovered.
缓解措施 (1)
Architecture and Design Prevention schemes mirror that of hard-coded password storage.
代码示例 (2)
The following code examples attempt to verify a password using a hard-coded cryptographic key.
int VerifyAdmin(char *password) { if (strcmp(password,"68af404b513073584c4b6f22b6c63e6b")) { printf("Incorrect Password!\n"); return(0); } printf("Entering Diagnostic Mode...\n"); return(1); }
Bad · C
public boolean VerifyAdmin(String password) { if (password.equals("68af404b513073584c4b6f22b6c63e6b")) { System.out.println("Entering Diagnostic Mode..."); return true; } System.out.println("Incorrect Password!"); return false;
Bad · Java
In 2022, the OT:ICEFALL study examined products by 10 different Operational Technology (OT) vendors. The researchers reported 56 vulnerabilities and said that the products were "insecure by design" [REF-1283]. If exploited, these vulnerabilities often allowed adversaries to change how the products operated, ranging from denial of service to changing the code that the products executed. Since these…
CVE ID 标题 CVSS 风险等级 Published
CVE-2020-6979 Moxa EDS-G516E和EDS-510E 信任管理问题漏洞 — Moxa EDS-G516E Series firmware, Version 5.2 or lower 7.5 - 2020-03-24
CVE-2020-6983 Moxa PT-7528和PT-7828 信任管理问题漏洞 — Moxa PT-7528 series firmware, Version 4.0 or lower, PT-7828 series firmware, Version 3.9 or lower 7.5 - 2020-03-24
CVE-2020-6990 多款Rockwell Automation产品信任管理问题漏洞 — Rockwell Automation MicroLogix 1400 Controllers Series B v21.001 and prior, Series A, all versions, MicroLogix 1100 Controller, all versions, RSLogix 500 Software v12.001 and prior 9.8 - 2020-03-16
CVE-2019-5137 Moxa AWK-3131A信任管理问题漏洞 — Moxa 7.5 - 2020-02-25
CVE-2019-13929 Siemens SIMATIC IT Unified Architecture Discrete Manufacturing 安全特征问题漏洞 — SIMATIC IT UADM 6.5 - 2019-10-10
CVE-2019-10963 摩莎 Moxa EDR 810 安全漏洞 — Moxa EDR 810 5.3 - 2019-10-08
CVE-2019-10990 Red Lion Controls Crimson 信任管理问题漏洞 — Red Lion Controls Crimson (Windows configuration software) 7.5 - 2019-09-23
CVE-2019-7594 Johnson Controls Metasys system 信任管理问题漏洞 — Metasys versions prior to 9.0 9.1 - 2019-08-20
CVE-2019-10920 Siemens LOGO!8 BM 信任管理问题漏洞 — LOGO! 8 BM (incl. SIPLUS variants) 7.5 - 2019-05-14
CVE-2018-3825 Elastic Cloud Enterprise 安全漏洞 — Elastic Cloud Enterprise (ECE) 5.9 - 2018-09-19
CVE-2018-10896 cloud-init 安全漏洞 — cloud-init 6.8 - 2018-08-01
CVE-2018-0040 Juniper Contrail Service Orchestration 安全漏洞 — Contrail Service Orchestration 9.8 - 2018-07-11
CVE-2016-9335 Red Lion Controls Sixnet-Managed Industrial Switches和AutomationDirect Stride-Managed Ethernet Switches 安全漏洞 — Sixnet-Managed Industrial Switches 10.0 - 2018-05-09
CVE-2017-14014 Boston Scientific ZOOM LATITUDE PRM 3120 信息泄露漏洞 — ZOOM LATITUDE PRM 4.6 - 2018-05-01
CVE-2017-14021 多款Korenix产品安全漏洞 — Korenix JetNet 9.8 - 2017-11-01
CVE-2017-9649 多款Mirion Technologies产品安全漏洞 — Mirion Technologies Telemetry Enabled Devices 7.5 - 2017-09-20
CVE-2017-6054 Hyundai Motor America Blue Link 安全漏洞 — Hyundai Motor America Blue Link 7.5 - 2017-04-26
CVE-2014-5403 Hospira MedNet 加密问题漏洞 — MedNet 5.9 - 2015-04-03
CVE-2014-5419 多款General Electric交换机安全绕过漏洞 — Multilink ML800/1200/1600/2400 5.9 - 2015-01-17

CWE-321(使用硬编码的密码学密钥) 是常见的弱点类别,本平台收录该类弱点关联的 319 条 CVE 漏洞。