[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

249461

 
 

909

 
 

195508

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Plaintext Storage in Memory

ID: 316Date: (C)2012-05-14   (M)2022-10-10
Type: weaknessStatus: DRAFT
Abstraction Type: Variant





Description

Storing sensitive data in plaintext in memory makes the data more easily accessible than if encrypted. This significantly lowers the difficulty of exploitation by attackers.

Extended Description

The sensitive memory might be saved to disk, stored in a core dump, or remain uncleared if the application crashes, or if the programmer does not clear the memory before freeing it.

Applicable Platforms
Language Class: All

Time Of Introduction

  • Architecture and Design

Common Consequences

ScopeTechnical ImpactNotes
Confidentiality
 
Read memory
 
 

Detection Methods
None

Potential Mitigations

PhaseStrategyDescriptionEffectivenessNotes
  Sensitive information should not be stored in plaintext in memory. Even if heavy fortifications are in place, sensitive data should be encrypted to prevent the risk of losing confidentiality.
 
  

Relationships
This could be a resultant weakness, e.g. if the compiler removes code that was intended to wipe memory.

Related CWETypeViewChain
CWE-316 ChildOf CWE-895 Category CWE-888  

Demonstrative Examples
None

Observed Examples

  1. CVE-2001-1517 : Sensitive authentication information in cleartext in memory.
  2. BID:10155 : Sensitive authentication information in cleartext in memory.
  3. CVE-2001-0984 : Password protector leaves passwords in memory when window is minimized, even when "clear password when minimized" is set.
  4. CVE-2003-0291 : SSH client does not clear credentials from memory.

For more examples, refer to CVE relations in the bottom box.

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings

TaxynomyIdNameFit
PLOVER  Plaintext Storage in Memory
 
 

References:
None

CVE    1
CVE-2021-32942

© SecPod Technologies