Katalog CWE

CWE-312 · Słabość

Cleartext Storage of Sensitive Information

Abstrakcja
Bazowa
Status
Szkic
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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

Skutki

  • 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.

Zapobieganie

  • 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.

Przykłady podatności

Słabość nadrzędna

Słabości podrzędne

Kiedy powstaje

Dotyczy

Not Language-Specific, Cloud Computing, ICS/OT, Mobile

Uwagi

Different people use "cleartext" and "plaintext" to mean the same thing: the lack of encryption. However, within cryptography, these have more precise meanings. Plaintext is the information just before it is fed into a cryptographic algorithm, including already-encrypted text. Cleartext is any information that is unencrypted, although it might be in an encoded form that is not easily human-readable (such as base64 encoding).

When organizations adopt cloud services, it can be easier for attackers to access the data from anywhere on the Internet.

Źródła

  1. Writing Secure Code — Michael Howard, David LeBlanc, Chapter 9, "Protecting Secret Data" Page 299, Microsoft Press, 2002
  2. The Art of Software Security Assessment — Mark Dowd, John McDonald, Justin Schuh, Chapter 2, "Common Vulnerabilities of Encryption", Page 43, Addison Wesley, 2006
  3. Mobile App Top 10 List — Chris Wysopal, 2010
  4. OT:ICEFALL: The legacy of "insecure by design" and its implications for certifications and risk management — Forescout Vedere Labs, 2022
  5. Over 80 US Municipalities' Sensitive Information, Including Resident's Personal Data, Left Vulnerable in Massive Data Breach — WizCase, 2021
  6. 1,000 GB of local government data exposed by Massachusetts software company — Jonathan Greig, 2021
  7. AWS Foundational Security Best Practices controls — Amazon, 2022
  8. Azure encryption overview — Microsoft, 2022
  9. Default encryption at rest — Google Cloud, 2022
  10. CIS Microsoft Azure Foundations Benchmark version 1.5.0 — Center for Internet Security, Section 3.2, 2022
  11. Enable infrastructure encryption for double encryption of data — Microsoft, 2022

Wpis z katalogu CWE 4.20.