CWE-922: Insecure Storage of Sensitive Information
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product stores sensitive information without properly limiting read or write access by unauthorized actors.
扩展描述
If read access is not properly restricted, then attackers can steal the sensitive information. If write access is not properly restricted, then attackers can modify and possibly delete the data, causing incorrect results and possibly a denial of service.
常见后果
影响范围: Confidentiality
技术影响: Read Application Data Read Files or Directories
说明: Attackers can read sensitive information by accessing the unrestricted storage mechanism.
影响范围: Integrity
技术影响: Modify Application Data Modify Files or Directories
说明: Attackers can overwrite sensitive information by accessing the unrestricted storage mechanism.
检测方法
方法: Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
有效性: High
观察示例
参考: CVE-2009-2272
password and username stored in cleartext in a cookie
引入模式
| 阶段 | 说明 |
|---|---|
| Architecture and Design | OMISSION: This weakness is caused by missing a security tactic during the architecture and design phase. |
| Implementation | - |
| System Configuration | - |