126 vulnerabilities classified as CWE-330 (使用不充分的随机数). AI Chinese analysis included.
CWE-330 represents a critical weakness where software relies on predictable or insufficiently random values within security-sensitive contexts, such as session token generation or cryptographic key creation. Attackers typically exploit this flaw by analyzing patterns in the generated values to predict future outputs, thereby bypassing authentication mechanisms or hijacking active user sessions. This vulnerability often stems from the misuse of standard pseudo-random number generators that lack cryptographic security properties. To mitigate this risk, developers must employ cryptographically secure pseudo-random number generators (CSPRNGs) that are specifically designed to resist prediction even if previous outputs are known. Additionally, ensuring proper seeding with high-entropy sources and avoiding custom randomization algorithms are essential practices for maintaining the integrity of security-dependent operations.
function generateSessionID($userID){ srand($userID); return rand(); }
String GenerateReceiptURL(String baseUrl) { Random ranGen = new Random(); ranGen.setSeed((new Date()).getTime()); return(baseUrl + ranGen.nextInt(400000000) + ".html"); }
| CVE ID | Title | CVSS | Severity | Published |
|---|---|---|---|---|
| CVE-2018-17888 | NUUO CMS 安全漏洞 — NUUO CMS | 9.8 | - | 2018-10-12 |
| CVE-2018-13280 | Synology DiskStation Manager 安全漏洞 — DiskStation Manager (DSM) | 7.4 | - | 2018-07-30 |
| CVE-2017-16028 | react-native-meteor-oauth 安全漏洞 — react-native-meteor-oauth node module | 7.5 | - | 2018-06-04 |
| CVE-2018-1108 | Linux kernel驱动程安全特征问题漏洞 — drivers | 6.5 | - | 2018-05-21 |
| CVE-2017-6026 | Schneider Electric Modicon PLCs Modicon M241和Modicon M251 安全特征问题漏洞 — Schneider Electric Modicon PLCs | 9.1 | - | 2017-06-30 |
| CVE-2017-0897 | EllisLab ExpressionEngine 安全漏洞 — ExpressionEngine | 7.5 | - | 2017-06-22 |
Vulnerabilities classified as CWE-330 (使用不充分的随机数) represent 126 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.