Leak data at rest¶
Definition¶
Unauthorised access to information kept in persistent storage.
Context¶
The system stores some data persistently, e.g. in a database or regular file system.
Attacker capabilities¶
- The attacker has read access to the storage at hand, either via
- the provided system functionality; or
- by direct (physical) access to the storage medium, e.g. a system administrator from a cloud storage provider.
Explanation¶
Almost each system persistently stores data, ranging from large database systems to files locally stored on a personal computer. Typically (part of) this data should be accessed by only a subset of users or should not be available outside the system at hand.
This problem is included in:
- A02: Cryptographic Failures in the OWASP Top 10
- Earn or Give, but Never Assume, Trust in IEEE's Top 10 Security design flaws1
Examples¶
- A former employee retrieves documents relating to the company's intellectual property from a database that is accidentally publicly accessible.
- A system administrator accesses sensitive profile information of some the system's users.
- A malicious third-party storage provider, e.g. cloud provider, inspects and possibly copies all documents its customers store on its platform.
Possible solutions¶
- Store sensitive data only in encrypted form, either selectively or transparently.
- For particular sensitive data such as passwords only their hash values should be stored.
- Properly authorise all entities that (attempt to) access data at rest.
-
I. Arce et al., ‘Avoiding the Top 10 Software Security Design Flaws’, IEEE, 2014. [Online]. Available: https://cybersecurity.ieee.org/blog/2015/11/13/avoiding-the-top-10-security-flaws/ ↩
Last update:
February 7, 2022