目标达成 感谢每一位支持者 — 我们达成了 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-2024-21460 Qualcomm Chipsets 安全漏洞 — Snapdragon 7.1 High 2024-07-01
CVE-2024-25943 Dell iDRAC9 安全漏洞 — Integrated Dell Remote Access Controller 9 7.6 High 2024-06-29
CVE-2024-5868 WordPress Plugin WooCommerce-Social Login 安全漏洞 — WooCommerce - Social Login 6.5 Medium 2024-06-15
CVE-2024-35292 多款Siemens产品 安全特征问题漏洞 — SIMATIC S7-200 SMART CPU CR40 8.2 High 2024-06-11
CVE-2024-5149 WordPress plugin BuddyForms 安全漏洞 — Post Form – Registration Form – Profile Form for User Profiles – Frontend Content Forms for User Submissions (UGC) 6.5 Medium 2024-06-05
CVE-2024-36389 MileSight DeviceHub 安全特征问题漏洞 — DeviceHub 9.8 Critical 2024-06-02
CVE-2024-4185 WordPress plugin Customer Email Verification for WooCommerce 安全漏洞 — Customer Email Verification for WooCommerce 8.1 High 2024-04-30
CVE-2023-6799 WordPress Plugin WP Reset 安全漏洞 — WP Reset 5.9 Medium 2024-04-09
CVE-2024-28013 NEC Corporation Aterm 安全漏洞 — WG1800HP4 8.1AI High AI 2024-03-28
CVE-2024-21495 caddy-security 安全漏洞 — github.com/greenpau/caddy-security 6.5 Medium 2024-02-17
CVE-2024-0761 WordPress plugin File Manager 安全漏洞 — File Manager 8.1 High 2024-02-05
CVE-2023-46740 CubeFS 安全特征问题漏洞 — cubefs 6.5 Medium 2024-01-03
CVE-2023-4462 Poly Trio 安全特征问题漏洞 — Trio 8300 3.7 Low 2023-12-29
CVE-2023-6376 Henschen & Associates court document management software 安全漏洞 — court document management software 5.3 Medium 2023-11-30
CVE-2023-29332 Microsoft Azure Kubernetes 输入验证错误漏洞 — Azure Kubernetes Service 7.5 High 2023-09-12
CVE-2023-41879 OpenMage Magento Lts 安全特征问题漏洞 — magento-lts 7.5 High 2023-09-11
CVE-2023-34353 Open Automation Software OAS Platform 安全特征问题漏洞 — OAS Platform 7.5 High 2023-09-05
CVE-2023-26451 Open-Xchange AppSuite 安全特征问题漏洞 — OX App Suite 7.5 High 2023-08-02
CVE-2023-3803 Chengdu Flash Flood Disaster Monitoring and Warning System 代码问题漏洞 — Flash Flood Disaster Monitoring and Warning System 2.6 Low 2023-07-21
CVE-2023-20185 Cisco Nexus 9000 Series Fabric Switches 加密问题漏洞 — Cisco NX-OS System Software in ACI Mode 7.4 High 2023-07-12
CVE-2022-43485 Honeywell OneWireless 安全特征问题漏洞 — OneWireless 6.2 Medium 2023-05-30
CVE-2023-31147 c-ares 安全特征问题漏洞 — c-ares 5.9 Medium 2023-05-25
CVE-2023-31124 c-ares 安全特征问题漏洞 — c-ares 3.7 Low 2023-05-25
CVE-2023-1385 Amazon Fire TV Stick 安全特征问题漏洞 — Fire TV Stick 3rd gen 7.1 High 2023-05-03
CVE-2023-2418 KONGA 安全特征问题漏洞 — Konga 3.1 Low 2023-04-29
CVE-2023-30797 Netflix Lemur 安全特征问题漏洞 — Lemur 7.5 High 2023-04-19
CVE-2022-43636 TP-LINK TL-WR940N 安全特征问题漏洞 — TL-WR940N 8.8 - 2023-03-29
CVE-2022-26080 Pulsar Plus System Controller 安全特征问题漏洞 — Pulsar Plus System Controller NE843_S 6.3 Medium 2023-03-16
CVE-2022-39216 Combodo iTop 安全特征问题漏洞 — iTop 7.4 High 2023-03-14
CVE-2022-43501 KASAGO IPv6/v4 Dual 安全特征问题漏洞 — Kasago IPv6/v4 Dual 8.2 - 2023-02-10

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