HackDig : Dig high-quality web security articles for hackers

List of websites using Ruby on Rails’ CookieStore for session management

2014-08-13 07:53

When bringing attention to the session termination security issue present with Ruby on Rails’ CookieStore and Django’s cookie-based session storage mechanism, one of the common questions I get is “Who is using it?”

Well, I did some digging and have the following list of 1,897 websites for your review. These are Rails sites only (before version 4.0, and not including Rails sites that encrypt their cookie values). This is not an exhaustive list, and there is future work to be done in detecting remotely the use of Rails’ CookieStore with encrypted values as well as the presence of Django’s cookie-based storage mechanism.

This Insufficient Session Expiration weakness (WASC-47) is pretty common I found, and it is especially bad when the site does not use SSL. Many of the websites and tools we use store the session hash on the client side, including the applications Redmine, Zendesk, and Spiceworks.

If you don’t have access to the app’s source code, you may be able to figure out if the site you are visiting is using Rails’ CookieStore (before version 4.0 due to its encrypted cookie values) by checking for the string ”BAh7″ at the beginning of the value of any of the cookies. A SHODAN search will reveal tens of thousands of these apps: www.shodanhq.com/search?q=BAh7*

Contact me if you are on the development team of any of the following websites and need help switching.

Source: /tnemeganam-noisses-rof-erotseikooc-sliar-no-ybur-gnisu-setisbew-fo-tsil/moc.gniggolbkcirevam

Read:3081 | Comments:0 | Tags:Do-it-yourself DIY Education News Security Technology Uncate

“List of websites using Ruby on Rails’ CookieStore for session management”0 Comments

Submit A Comment



Blog :

Verification Code:


Tag Cloud