CWE-13: ASP.NET Misconfiguration: Password in Configuration File

VariantDraft

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.

View on MITRE
Back to CWE Lookup

Technical Details

Structure
Simple

Applicable To

Languages
Platforms

Frequently Asked Questions

What is CWE-13: ASP.NET Misconfiguration: Password in Configuration File?+

CWE-13: ASP.NET Misconfiguration: Password in Configuration File is a Common Weakness Enumeration (CWE) entry maintained by MITRE. 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.

What are the security consequences of ASP.NET Misconfiguration: Password in Configuration File?+

If exploited, CWE-13 (ASP.NET Misconfiguration: Password in Configuration File) it can compromise Access Control, leading to outcomes such as Gain Privileges or Assume Identity.

How do you prevent or mitigate ASP.NET Misconfiguration: Password in Configuration File?+

Recommended mitigations for CWE-13 include: Credentials stored in configuration files should be encrypted, Use standard APIs and industry accepted algorithms to encrypt the credentials stored in configuration files.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-13 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More