{"id":3639,"date":"2013-11-13T11:26:09","date_gmt":"2013-11-13T13:26:09","guid":{"rendered":"http:\/\/blog.plataformatec.com.br\/?p=3639"},"modified":"2013-11-13T18:03:35","modified_gmt":"2013-11-13T20:03:35","slug":"e-mail-enumeration-in-devise-in-paranoid-mode","status":"publish","type":"post","link":"https:\/\/blog.plataformatec.com.br\/2013\/11\/e-mail-enumeration-in-devise-in-paranoid-mode\/","title":{"rendered":"E-mail enumeration in Devise in paranoid mode"},"content":{"rendered":"
It has been reported that malicious users can do e-mail enumeration on sign in via timing attacks despite paranoid mode being enabled.<\/p>\n
Whenever you try to reset your password or confirm your account, Devise gives you precise information on how to proceed, if the e-mail given is valid, if the token has not expired and so on. This means that, by trying any given e-mail, a third-party person can know if a particular e-mail is registered in that website or not.<\/p>\n
While this is not a problem for many applications, some applications would like to keep their user information completely private, even if it means loss of usability on features like account confirmation. For such use cases, Devise supports something called paranoid mode, which has been reported to still be vulnerable to enumeration on sign in.<\/p>\n
Only applications using Devise paranoid mode need to update. New releases have been made for Devise branches 3.2 (3.2.1), 3.1 (3.1.2), 3.0 (3.0.4) and 2.2 (2.2.8).<\/p>\n
Users running on those branches and cannot upgrade immediately can fix this issue by applying this patch<\/a>. Users running on older versions are recommended to upgrade to a supported branch immediately.<\/p>\n We want to thank Tim Goddard, from YouDo Ltd<\/a> for reporting the issue and working with us on a fix.<\/p>\n","protected":false},"excerpt":{"rendered":" It has been reported that malicious users can do e-mail enumeration on sign in via timing attacks despite paranoid mode being enabled. Whenever you try to reset your password or confirm your account, Devise gives you precise information on how to proceed, if the e-mail given is valid, if the token has not expired and … \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\/3639"}],"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=3639"}],"version-history":[{"count":5,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/3639\/revisions"}],"predecessor-version":[{"id":3644,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/3639\/revisions\/3644"}],"wp:attachment":[{"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/media?parent=3639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/categories?post=3639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/tags?post=3639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Acknowledgements<\/h3>\n