SecurityContext

CVE-2021-41274: solidus_auth_devise - Cross Site Request Forgery

  • Cve: CVE-2021-41274
  • Name: solidus_auth_devise - Cross Site Request Forgery
  • Description: solidus_auth_devise provides authentication services for the Solidus webstore framework, using the Devise gem. In affected versions solidus_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `solidus_auth_devise` are affected if `protect_from_forgery` method is both: Executed whether as: A `before_action` callback (the default) or A `prepend_before_action` (option `prepend: true` given) before the `:load_object` hook in `Spree::UserController` (most likely order to find). Configured to use `:null_session` or `:reset_session` strategies (`:null_session` is the default in case the no strategy is given, but `rails --new` generated skeleton use `:exception`). Users should promptly update to `solidus_auth_devise` version `2.5.4`. Users unable to update should if possible, change their strategy to `:exception`. Please see the linked GHSA for more workaround details.
  • Impact: Attackers can perform CSRF attacks to hijack user accounts, leading to potential account takeover and unauthorized actions.
  • Remediation: Update to solidus_auth_devise version 2.5.4 or later. If unable, change protect_from_forgery strategy to :exception.
  • Vulnerability type: cross_site_request_forgery
  • Requirement type: user_interaction
  • Requirements: Exploit requires victim to be authenticated and interact with a crafted request.
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00726
  • Epss percentile: 0.55054
  • Assignee: [email protected]
  • Published at: 2021-11-17T20:15:10Z
  • Age in days: 1833
  • Modified at: 2026-06-17T04:08:13Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41274
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-352Cross-Site Request Forgery

Hackerone

  • Reports: 1
  • Rank: 1948

Public exploits

UrlSourceAdded date
https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2nvd2021-11-17

References

UrlSourceTags
https://github.com/solidusio/solidus_auth_devise/commit/731a6645e90ea9fd228f78ec53c6976c048a0555nvdPatch, Third Party Advisory
https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nebulab:solidus_auth_devise>= 1.0.0, < 2.5.4nonvd/v1/products/nebulab/solidus_auth_devise

Projects

RepositoryLink kindsIndexedUrl
solidusio/solidus_auth_devisecommit, fix, package, releases, security_advisoryyes/v1/repositories/solidusio/solidus_auth_devise

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-11-17
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts