Unsystematic literature review about client-side storage, with historical approach

Context

Browser-based storage options, including Web Storage API (localStorage, sessionStorage) and IndexedDB, may be a target of cyberattacks.

  • browsing history, for example, is a precious information that may be attractive for marketing purposes

Businesses operating over the Internet need to maintain relations with their customers to ensure continuity, recognize previous customers, and simplify the eCommerce process. This is done using cookie

  • cookies may be stolen, poisoned or injected, leaking sensitive information such as session IDs

Security risks with IndexedDB

  • standard forensic tools may be used to identify data stored, and then deleted from IndexedDB
  • data stored on the client file system is unencrypted
  • deleted data is not really deleted and it is recoverable in forensic environment
  • given the IndexedDB design, it is possible to iterate over all tables (object stores) and read the whole content of the database in one fell swoop

References