CWE-522: Insufficiently Protected Credentials
low-riskThe product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
Abstraction: Class
Common Consequences
Access Control
→
Gain Privileges or Assume Identity
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.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2020-29583 | 9.8 | 94.4% | Y |
| CVE-2020-29583 | 9.8 | 94.4% | Y |
| CVE-2019-17662 | 9.8 | 94.1% | — |
| CVE-2024-44000 | 9.8 | 92.9% | — |
| CVE-2024-9014 | 9.9 | 92.9% | — |
| CVE-2024-32238 | 9.8 | 89.7% | — |
| CVE-2017-9248 | 9.8 | 87.8% | Y |
| CVE-2017-9248 | 9.8 | 87.8% | Y |
| CVE-2022-1026 | 8.6 | 86.8% | — |
| CVE-2022-1026 | 8.6 | 86.8% | — |
6
/ 100
low-risk
Active Threat
5/50 · Minimal
Exploit Availability
1/50 · Minimal