CWE-13 — ASP.NET Misconfiguration: Password in Configuration File
CWE-13: ASP.NET Misconfiguration: Password in Configuration File
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Variant |
| Status | Draft |
| Likelihood of exploit | — |
Description
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.
Common consequences
- Access Control: Gain Privileges or Assume Identity
Mitigations
Implementation — Credentials stored in configuration files should be encrypted, Use standard APIs and industry accepted algorithms to encrypt the credentials stored in configuration files.
References
- CWE page: https://cwe.mitre.org/data/definitions/13.html
- CWE list: https://cwe.mitre.org/data/index.html
See all 1,245 pages under Weakness classes (CWE) →
Related pages
Browse by topic
Every page in the corpus, grouped. Search finds one page; this shows what else is here.