CWE-341—Predictable from Observable State
PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11
Metadata
- CWE ID:
- CWE-341
- 摘要:
- Base
- 结构:
- Simple
- 状态:
- Draft
- 发布日期:
- 2006-07-19
- 更新日期:
- 2025-12-11
名称
Predictable from Observable State
描述
A number or object is predictable based on observations that the attacker can make about the state of the system or network, such as time, process ID, etc.
常见后果
- 范围:
- Other
- 影响:
- Varies by Context
- 注释:
- This weakness could be exploited by an attacker in a number ways depending on the context. If a predictable number is used to generate IDs or keys that are used within protection mechanisms, then an attacker could gain unauthorized access to the system. If predictable filenames are used for storing sensitive information, then an attacker might gain access to the system and may be able to gain access to the information in the file.