CVE-2021-41275CWE-352

Authentication Bypass by CSRF Weakness

Critical · published November 17, 2021

CVSS v3.1
9.3
EPSS
1%
Percentile
50.3
In the wild
Unconfirmed
What it is

🚨 A sneaky CSRF vulnerability in `spree_auth_devise` can lead to user account takeover! If your application uses this library, you could be leaving the door wide open! 🔥 Think of it like a restaurant where a waiter mixes up orders, handing your meal to someone else—if the wrong person gets your account, they can do anything they want! 🍽️ An attacker could potentially take over user accounts, accessing sensitive information and performing actions without permission. This could lead to data breaches and erosion of user trust, making it absolutely devastating for your application! ⚡️

Put simply

Think of it like a restaurant where a waiter mixes up orders, handing your meal to someone else—if the wrong person gets your account, they can do anything they want! 🍽️ This CSRF vulnerability occurs when the `protect_from_forgery` method is improperly configured, allowing attackers to exploit session management and hijack user accounts through crafted requests.

What to do

An attacker could potentially take over user accounts, accessing sensitive information and performing actions without permission. This could lead to data breaches and erosion of user trust, making it absolutely devastating for your application! ⚡️ Update immediately to `spree_auth_devise` version 4.4.1 for Spree 4.3 users and 4.2.1 for Spree 4.2 users. If an immediate update isn’t possible, consider changing your CSRF strategy to `:exception` to add a layer of protection. 🛡️ You've got this! Follow these steps and secure your application in no time! 💪✨

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00646 · 50.3th percentile
Weakness
CWE-352 · Cross-Site Request Forgery (CSRF)
Published
2021-11-17T19:50Z
EPSS history
Timeline
  • 17 NOV 19:50Z
    Authentication Bypass by CSRF Weakness
    cvelistv5