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

目标: 1000 元 · 已筹: 1336

100%

CWE-330 使用不充分的随机数 类漏洞列表 126

CWE-330 使用不充分的随机数 类弱点 126 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-330属于密码学相关漏洞,指在依赖不可预测数值的安全场景中使用了随机性不足的数值。攻击者通常通过分析伪随机数生成器的弱点,预测或重现关键值,从而绕过身份验证或会话管理。开发者应避免使用标准库中的伪随机函数处理敏感数据,转而采用操作系统提供的加密安全随机数生成器,并确保种子来源具备足够的熵,以保障数值不可预测性。

MITRE CWE 官方描述
CWE:CWE-330 使用不足够随机的值 (Use of Insufficiently Random Values) 英文:产品在一个依赖于不可预测数字的安全上下文中使用了不足够随机的数字或值。
常见影响 (3)
Confidentiality, Other Other
When a protection mechanism relies on random values to restrict access to a sensitive resource, such as a session ID or a seed for generating a cryptographic key, then the resource being protected could be accessed by guessing the ID or key.
Access Control, Other Bypass Protection Mechanism, Other
If product relies on unique, unguessable IDs to identify a resource, an attacker might be able to guess an ID for a resource that is owned by another user. The attacker could then read the resource, or pre-create a resource with the same ID to prevent the legitimate program from properly sending the…
Access Control Bypass Protection Mechanism, Gain Privileges or Assume Identity
When an authorization or authentication mechanism relies on random values to restrict access to restricted functionality, such as a session ID or a seed for generating a cryptographic key, then an attacker may access the restricted functionality by guessing the ID or key.
缓解措施 (3)
Architecture and Design Use a well-vetted algorithm that is currently considered to be strong by experts in the field, and select well-tested implementations with adequate length seeds. In general, if a pseudo-random number generator is not advertised as being cryptographically secure, then it is probably a statistical PRNG and should not be used in security-sensitive contexts. Pseudo-random number generators can produce…
Implementation Consider a PRNG that re-seeds itself as needed from high quality pseudo-random output sources, such as hardware devices.
Architecture and Design, Requirements Use products or modules that conform to FIPS 140-2 [REF-267] to avoid obvious entropy problems. Consult FIPS 140-2 Annex C ("Approved Random Number Generators").
代码示例 (2)
This code attempts to generate a unique random identifier for a user's session.
function generateSessionID($userID){ srand($userID); return rand(); }
Bad · PHP
The following code uses a statistical PRNG to create a URL for a receipt that remains active for some period of time after a purchase.
String GenerateReceiptURL(String baseUrl) { Random ranGen = new Random(); ranGen.setSeed((new Date()).getTime()); return(baseUrl + ranGen.nextInt(400000000) + ".html"); }
Bad · Java
CVE ID 标题 CVSS 风险等级 Published
CVE-2023-22601 InHand Networks InRouter302 安全特征问题漏洞 — InRouter 302 10.0 Critical 2023-01-12
CVE-2019-25089 Muon 安全特征问题漏洞 — Muon 3.1 Low 2022-12-27
CVE-2021-4248 kapetan DNS 安全漏洞 — dns 5.6 Medium 2022-12-18
CVE-2022-46353 Siemens SCALANCE Series 安全特征问题漏洞 — SCALANCE X204RNA (HSR) 7.5 - 2022-12-13
CVE-2022-3959 Drogon 安全特征问题漏洞 — drogon 3.1 Low 2022-11-11
CVE-2022-42787 Wiesemann & Theis Com-Server Family 安全特征问题特征问题漏洞 — Com-Server LC 8.8 High 2022-11-10
CVE-2022-31008 RabbitMQ 安全特征问题漏洞 — rabbitmq-server 5.5 Medium 2022-10-06
CVE-2022-1615 Samba 安全特征问题漏洞 — Samba 7.5 - 2022-09-01
CVE-2022-36045 多款 NodeBB 产品 安全特征问题漏洞 — NodeBB 9.0 Critical 2022-08-31
CVE-2022-37400 Apache OpenOffice 安全特征问题特征问题漏洞 — Apache OpenOffice 6.5 - 2022-08-13
CVE-2022-26647 Siemens SCALANCE 安全特征问题特征问题漏洞 — SCALANCE X200-4P IRT 8.8 High 2022-07-12
CVE-2020-35163 Dell BSAFE 安全特征问题漏洞 — Dell BSAFE Crypto-C Micro Edition 5.3 Medium 2022-07-11
CVE-2022-31034 Red Hat OpenShift 安全特征问题特征问题漏洞 — argo-cd 8.3 High 2022-06-27
CVE-2022-26071 F5 BIG-IP 安全特征问题漏洞 — BIG-IP 7.4 High 2022-05-05
CVE-2022-25752 多款 Siemens 产品安全特征问题漏洞 — SCALANCE X302-7 EEC (230V) 7.5 - 2022-04-12
CVE-2022-29035 JetBrains Ktor Native 安全特征问题漏洞 — Ktor 3.3 Low 2022-04-11
CVE-2022-26851 Dell Technologies Dell PowerScale OneFS 安全特征问题漏洞 — PowerScale OneFS 9.1 Critical 2022-04-08
CVE-2021-20322 Linux kernel 安全特征问题漏洞 — kernel 7.4 - 2022-02-18
CVE-2021-37186 Siemens SIMATIC 安全特征问题漏洞 — LOGO! CMR2020 8.3 - 2021-09-14
CVE-2021-23020 NGINX控制器 安全特征问题漏洞 — Nginx Controller 5.5 - 2021-06-01
CVE-2020-10729 Red Hat Ansible 安全特征问题漏洞 — Ansible 5.5 - 2021-05-27
CVE-2021-29499 Singularity Image Format 安全特征问题漏洞 — sif 7.5 High 2021-05-07
CVE-2021-25677 多款Siemens产品 安全特征问题漏洞 — APOGEE PXC Compact (BACnet) 5.3 Medium 2021-04-22
CVE-2021-27393 Nucleus ReadyStart安全特征问题漏洞 — Nucleus NET 5.3 - 2021-04-22
CVE-2021-21352 TimeTracker 安全特征问题漏洞 — timetracker 6.8 Medium 2021-03-03
CVE-2020-27264 多款Sooil产品安全特征问题漏洞 — SOOIL Developments Co., Ltd Diabecare RS, AnyDana-i and AnyDana-A 8.8 - 2021-01-19
CVE-2020-7548 多款 Schneider Electric 产品安全特征问题漏洞 — Smartlink, PowerTag, and Wiser Series Gateways (see security notification for version information) 8.8 - 2020-12-01
CVE-2020-25705 Linux kernel 安全特征问题漏洞 — Siemens Lunux Based Products 7.4 - 2020-11-17
CVE-2019-6821 多款Schneider Electric产品安全特征问题漏洞 — Modicon Controllers, Modicon M580 firmware versions prior to V2.30, and all firmware versions of Modicon M340, Modicon Premium, Modicon Quantum 9.4 - 2019-05-22
CVE-2019-3795 VMware Spring Security 安全特征问题漏洞 — Spring Security 6.5 - 2019-04-09

CWE-330(使用不充分的随机数) 是常见的弱点类别,本平台收录该类弱点关联的 126 条 CVE 漏洞。