{"id":1520,"date":"2010-11-26T12:17:02","date_gmt":"2010-11-26T14:17:02","guid":{"rendered":"http:\/\/blog.plataformatec.com.br\/?p=1520"},"modified":"2011-02-11T10:13:34","modified_gmt":"2011-02-11T12:13:34","slug":"session-fixation-vulnerability-in-devise","status":"publish","type":"post","link":"https:\/\/blog.plataformatec.com.br\/2010\/11\/session-fixation-vulnerability-in-devise\/","title":{"rendered":"Session fixation vulnerability in Devise"},"content":{"rendered":"
There is a vulnerability in Devise source code that allows someone to steal your session through session fixation attacks.<\/p>\n
This vulnerability is present in all Devise versions, in both 1.0 and 1.1 branches. However, you are only affected if you are using a Active Record ou Memcached or other server persistent session store. Projects using cookie stores (Rails default) are not affected.<\/p>\n
If you are using Devise defaults which requires the user a password to update his account, it is unlikely the target account can be stolen, however the attacker will be able to normally perform actions in the website.<\/p>\n
To fix this vulnerability, we released Devise 1.0.9 for Rails 2.3.x applications and Devise 1.1.4 for Rails 3.x.<\/p>\n
In another note, Devise 1.2.rc was also released, which includes this security fix and Omniauth support. Check the CHANGELOG<\/a> for more information.<\/p>\n Thanks to Olivier Dembour and Stephen Touset for reporting the vulnerability.<\/p>\n","protected":false},"excerpt":{"rendered":" There is a vulnerability in Devise source code that allows someone to steal your session through session fixation attacks. Who is affected? This vulnerability is present in all Devise versions, in both 1.0 and 1.1 branches. However, you are only affected if you are using a Active Record ou Memcached or other server persistent session … \u00bb<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[36,124],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/1520"}],"collection":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/comments?post=1520"}],"version-history":[{"count":8,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/1520\/revisions"}],"predecessor-version":[{"id":1795,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/1520\/revisions\/1795"}],"wp:attachment":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/media?parent=1520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/categories?post=1520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/tags?post=1520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Credit<\/h3>\n