Tamper with data at rest¶
Definition¶
An unauthorised entity modifies data at rest.
Context¶
The system stores data persistently, e.g. in a database or regular file system.
Attacker capabilities¶
- The attacker has write access to the storage at hand, either via
- the functionality provided by the system; 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 modified by only a certain users, e.g. the actual owners of the data or users with sufficient privileges.
This problem is included in:
- A02: Cryptographic Failures in the OWASP Top 10
Examples¶
- In a web shop an attacker changes the prices for several products, allowing customers to purchase them at a discounted price.
- An employee changes its salary as stored in the employee database to give him- or herself an unauthorised raise.
- An attacker deletes entries from the system log to cover up his or her successful attack on the system.
Possible solutions¶
- Properly authorise before allowing modifications of stored data
Last update:
February 7, 2022