BaseDraft

CWE-312Cleartext Storage of Sensitive Information

Category: data-exposure

Description

The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.

Common consequences· 1

  • Confidentiality — Read Application Data
    An attacker with access to the system could read sensitive information stored in cleartext (i.e., unencrypted). Even if the information is encoded in a way that is not human-readable, certain techniques could determine which encoding is being used, then decode the information.

Potential mitigations· 2

  • [Implementation, System Configuration, Operation]When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to encrypt the data at rest. [REF-1297] [REF-1299] [REF-1301]
  • [Implementation, System Configuration, Operation]In some systems/environments such as cloud, the use of "double encryption" (at both the software and hardware layer) might be required, and the developer might be solely responsible for both layers, instead of shared responsibility with the administrator of the broader system/environment.

Related CAPEC attack patterns· 1

CAPEC-37

References

  1. https://cwe.mitre.org/data/definitions/312.html

Exploits (incoming)1

TypeTargetConfidenceTier
AttackPatternRetrieve Embedded Sensitive Datacapec-37100%live

Compliance frameworks addressing this (incoming)6

TypeTargetConfidenceTier
ComplianceControlpci_dss_v4-r3100%live
ComplianceControliso27001-a.8.9100%live
ComplianceControlnis2-art21h100%live
ComplianceControlcis_v8-3100%live
ComplianceControlowasp_top10-a07100%live
ComplianceControlnist_csf-id95%live

(incoming)13

TypeTargetConfidenceTier
VulnerabilityCVE-2025-30124cve-2025-301240%live
VulnerabilityCVE-2025-32353cve-2025-323530%live
VulnerabilityCVE-2025-34206cve-2025-342060%live
VulnerabilityCVE-2025-34216cve-2025-342160%live
VulnerabilityCVE-2025-46633cve-2025-466330%live
VulnerabilityCVE-2025-46634cve-2025-466340%live
VulnerabilityCVE-2025-51055cve-2025-510550%live
VulnerabilityCVE-2025-55443cve-2025-554430%live
VulnerabilityCVE-2025-63729cve-2025-637290%live
VulnerabilityCVE-2025-65826cve-2025-658260%live
VulnerabilityCVE-2026-31848cve-2026-318480%live
VulnerabilityCVE-2026-33026cve-2026-330260%live
VulnerabilityCVE-2026-43992cve-2026-439920%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Cleartext Storage of Sensitive Information in Memory
CWE
Cleartext Storage in a File or on Disk
CWE
Cleartext Transmission of Sensitive Information
CWE
Cleartext Storage of Sensitive Information in GUI
CWE
Storage of Sensitive Data in a Mechanism without Access Control
CWE
Cleartext Storage of Sensitive Information in Executable
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.