CWE-335 PRNG种子错误

Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

结构: Simple

Abstraction: Base

状态: Draft

被利用可能性: unkown

基本描述

The software uses a Pseudo-Random Number Generator (PRNG) that does not correctly manage seeds.

相关缺陷

  • cwe_Nature: ChildOf cwe_CWE_ID: 330 cwe_View_ID: 1000 cwe_Ordinal: Primary

  • cwe_Nature: ChildOf cwe_CWE_ID: 330 cwe_View_ID: 1003 cwe_Ordinal: Primary

  • cwe_Nature: ChildOf cwe_CWE_ID: 330 cwe_View_ID: 699 cwe_Ordinal: Primary

适用平台

Language: {'cwe_Class': 'Language-Independent', 'cwe_Prevalence': 'Undetermined'}

常见的影响

范围 影响 注释
['Access Control', 'Other'] ['Bypass Protection Mechanism', 'Other'] if a PRNG is used incorrectly, such as using the same seed for each initialization or using a predictable seed, then an attacker may be able to easily guess the seed and thus the random numbers. This could lead to unauthorized access to a system if the seed is used for authentication and authorization.

分类映射

映射的分类名 ImNode ID Fit Mapped Node Name
PLOVER PRNG Seed Error

引用