Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. devise
  4. ›
  5. OSVDB-114435

OSVDB-114435: CSRF token fixation attacks

August 2, 2013

Devise has been reported to be vulnerable to CSRF token fixation attacks. The attack can only be exploited if the attacker can set the target session, either by subdomain cookies or by fixation over the same Wi-Fi network. If the user knows the CSRF token, cross-site forgery requests can be made.

References

  • blog.plataformatec.com.br/2013/08/csrf-token-fixation-attacks-in-devise/
  • homakov.blogspot.com.es/2013/06/cookie-forcing-protection-made-easy.html

Code Behaviors & Features

Detect and mitigate OSVDB-114435 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.2.5, all versions starting from 3.0.0 before 3.0.1

Fixed versions

  • 2.2.5
  • 3.0.1

Solution

Upgrade and workaround available (see source)

Source file

gem/devise/OSVDB-114435.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:48 +0000.