- What is CWE-312?
- The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.
- What CVEs are caused by CWE-312?
- 368 recorded CVEs are attributed to CWE-312, including CVE-2011-4723, CVE-2026-22240, CVE-2022-43757. 1 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
- How do you prevent CWE-312?
- 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]
- How is CWE-312 detected?
- 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.)
- What are the consequences of CWE-312?
- Exploiting CWE-312 can lead to: Read Application Data.
- Is CWE-312 actively exploited?
- Yes. 1 CWE-312 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 368 recorded CVEs.