CWE Database
/

CWE-312

Back to CWE list

CWE-312

Cleartext Storage of Sensitive Information

Base
Draft

Description

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

Common Consequences

Scope

Confidentiality

Impact

Read Application Data

Potential Mitigations

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.

CVE-2022-26390

wireless battery product stores credentials and Personal Health Information (PHI) without encryption

CVE-2022-30275

Remote Terminal Unit (RTU) uses a driver that relies on a password stored in plaintext.

CVE-2009-2272

password and username stored in cleartext in a cookie

CVE-2009-1466

password stored in cleartext in a file with insecure permissions

CVE-2009-0152

chat program disables SSL in some circumstances even when the user says to use SSL.

CVE-2009-1603

Chain: product uses an incorrect public exponent when generating an RSA key, which effectively disables the encryption

CVE-2009-0964

storage of unencrypted passwords in a database

CVE-2008-6157

storage of unencrypted passwords in a database

CVE-2008-6828

product stores a password in cleartext in memory

CVE-2008-1567

storage of a secret key in cleartext in a temporary file

+11 more examples

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now