619
or use a brute force search on the available information, the administrator can use the password on
other accounts.
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
PeerOf 259 Use of Hard-coded Password 623
PeerOf 259 Use of Hard-coded Password 623
PeerOf 798 Use of Hard-coded Credentials 1690
Relevant to the view "Architectural Concepts" (CWE-1008)
Nature Type ID Name Page
MemberOf 1013 Encrypt Data 2428
Relevant to the view "Software Development" (CWE-699)
Nature Type ID Name Page
MemberOf 255 Credentials Management Errors 2315
Weakness Ordinalities
Primary :
Applicable Platforms
Language : Not Language-Specific (Prevalence = Undetermined)
Likelihood Of Exploit
High
Common Consequences
Scope Impact Likelihood
Confidentiality
Access Control
Gain Privileges or Assume Identity
User's passwords may be revealed.
Access Control Gain Privileges or Assume Identity
Revealed passwords may be reused elsewhere to
impersonate the users in question.
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST),
can find some instances of this weakness by analyzing source code (or binary/compiled code)
without having to execute it. Typically, this is done by building a model of data flow and control
flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input)
with "sinks" (destinations where the data interacts with external components, a lower layer such
as the OS, etc.)
Effectiveness = High
Potential Mitigations
Phase: Architecture and Design
Use strong, non-reversible encryption to protect stored passwords.
CWE Version 4.14
CWE-257: Storing Passwords in a Recoverable Format
CWE-257: Storing Passwords in a Recoverable Format