Umbra Wiki weakness weakness/CWE-321
Back to wiki

CWE-321 — Use of Hard-coded Cryptographic Key

provenance: imported · CWE: CWE-321

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