logo

CWE-921 - Storage of Sensitive Data in a Mechanism without Access Control

CWE-921

  • Abstraction:
  • Base
  • Structure:
  • Simple
  • Status:
  • Incomplete
Weakness Name

Storage of Sensitive Data in a Mechanism without Access Control

Description

The product stores sensitive information in a file system or device that does not have built-in access control.

While many modern file systems or devices utilize some form of access control in order to restrict access to data, not all storage mechanisms have this capability. For example, memory cards, floppy disks, CDs, and USB devices are typically made accessible to any user within the system. This can become a problem when sensitive data is stored in these mechanisms in a multi-user environment, because anybody on the system can read or write this data. On Android devices, external storage is typically globally readable and writable by other applications on the device. External storage may also be easily accessible through the mobile device's USB connection or physically accessible through the device's memory card port.

Common Consequences

Scope: Confidentiality

Impact: Read Application Data, Read Files or Directories

Notes: Attackers can read sensitive information by accessing the unrestricted storage mechanism.

Scope: Integrity

Impact: Modify Application Data, Modify Files or Directories

Notes: Attackers can modify or delete sensitive information by accessing the unrestricted storage mechanism.

Related Weaknesses
  • Release Date:
  • 2013-07-17
  • Latest Modification Date:
  • 2023-06-29

Free security scan for your website