CWE-321 — Use of Hard-coded Cryptographic Key
CWE-321: Use of Hard-coded Cryptographic Key
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Variant |
| Status | Draft |
| Likelihood of exploit | High |
Description
The product uses a hard-coded, unchangeable cryptographic key.
Common consequences
- Access Control: Bypass Protection Mechanism, Gain Privileges or Assume Identity, Read Application Data
Mitigations
Architecture and Design — Prevention schemes mirror that of hard-coded password storage.
References
- CWE page: https://cwe.mitre.org/data/definitions/321.html
- CWE list: https://cwe.mitre.org/data/index.html
See all 1,245 pages under Weakness classes (CWE) →
Related pages
Browse by topic
Every page in the corpus, grouped. Search finds one page; this shows what else is here.