Devise Gem for Ruby Unauthorized Access Using "Remember Me" Cookie
Devise version before 3.5.4 uses cookies to implement a "Remember me" functionality. However, it generates the same cookie for all devices. If an attacker manages to steal a remember me cookie and the user does not change the password frequently, the cookie can be used to gain access to the application indefinitely.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2015-8314US | high7.5OT elevated | — | ||
The Devise gem before 3.5.4 for Ruby mishandles Remember Me cookies for sessions, which may allow an adversary to obtain unauthorized persistent application access. | ||||
02
references
External citations — patches, advisories, analysis.
- http://blog.plataformatec.com.br/2016/01/improve-remember-me-cookie-expiration-in-deviseWEB
- https://github.com/advisories/GHSA-746g-3gfp-hfhwADVISORY
- https://github.com/heartcombo/devisePACKAGE
- https://github.com/heartcombo/devise/commit/c92996646aba2d25b2c3e235fe0c4f1a84b70d24WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/CVE-2015-8314.ymlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-8314ADVISORY
- https://rubysec.com/advisories/CVE-2015-8314WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan