629
CWE-260: Password in Configuration File
Weakness ID : 260
Structure : Simple
Abstraction : Base
Description
The product stores a password in a configuration file that might be accessible to actors who do not
know the password.
Extended Description
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.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 522 Insufficiently Protected Credentials 1225
ParentOf 13 ASP.NET Misconfiguration: Password in Configuration File 13
ParentOf 258 Empty Password in Configuration File 621
ParentOf 555 J2EE Misconfiguration: Plaintext Password in Configuration
File