All posts tagged web security

Ruby on Rails CookieStore Security Concerns: Lifetime Pass

4839612753_d03954b19d_b

The CookieStore session storage in Ruby on Rails is not new; in fact, it has been the default session store since Rails 2.0. Since then, there have been countless blog posts and forum threads discussing various security concerns vs a server-sided store (ActiveRecordStore, Memcache, SqlStore, etc.). They all seem to miss an important point: by default, a stolen cookie gives the thief a lifetime pass to a user account!

I will explain how this happens and some steps you can implement to mitigate it.

Continue Reading →