CWE-260
Password in Configuration File
Description
The product stores a password in a configuration file that might be accessible to actors who do not know the password.
This can result in compromise of the system for which the password is used. An attacker could gain access to this file and learn the stored password or worse yet, change the password to one of their choosing.
Parent Weaknesses (ChildOf)
Common Consequences
Scope
Impact
Gain Privileges or Assume Identity
Potential Mitigations
Avoid storing passwords in easily accessible locations.
Consider storing cryptographic hashes of passwords as an alternative to storing in plaintext.
CVE-2022-38665A continuous delivery pipeline management tool stores an unencypted password in a configuration file.
Applicable Platforms
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now