CWE-13: ASP.NET Misconfiguration: Password in Configuration File
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
Storing a plaintext password in a configuration file allows anyone who can read the file access to the password-protected resource making them an easy target for attackers.
常见后果
影响范围: Access Control
技术影响: Gain Privileges or Assume Identity
潜在缓解措施
阶段: Implementation
描述: Credentials stored in configuration files should be encrypted, Use standard APIs and industry accepted algorithms to encrypt the credentials stored in configuration files.
引入模式
| 阶段 | 说明 |
|---|---|
| Architecture and Design | - |
| Implementation | - |
分类映射
| 分类名称 | 条目ID | 条目名称 | 映射适配度 |
|---|---|---|---|
| 7 Pernicious Kingdoms | - | ASP.NET Misconfiguration: Password in Configuration File | - |