CVE-2013-2506 spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles
Authenticated users can escalate privileges by assigning arbitrary roles to themselves due to unsafe mass assignment in Spree.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-2506?
CVE-2013-2506 is a medium-severity vulnerability in n/a, published on 8 Mar 2013. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
app/models/spree/user.rb in spree_auth_devise in Spree 1.1.x before 1.1.6, 1.2.x, and 1.3.x does not perform mass assignment safely when updating a user, which allows remote authenticated users to assign arbitrary roles to themselves.
Weakness: CWE-264
Which versions are affected by CVE-2013-2506?
2 open source packages ship an affected version, including spree_auth_devise. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
spree_auth_devise RubyGems | From 1.0.0 | 3.0.5 |
spree_auth_devise RubyGems | From 1.0.0 | 3.0.5 |
Products include Spreecommerce Spree.
How do I fix CVE-2013-2506?
Upgrade spree_auth_devise to 3.0.5 or later.
Is CVE-2013-2506 being exploited?
There is no known exploitation of CVE-2013-2506 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2011-10019 Spreecommerce < 0.60.2 Search Parameter RCE
- CVE-2011-10026 Spreecommerce < 0.50.x API RCE
- CVE-2026-25757 Unauthenticated Spree Commerce users can view completed guest orders by Order ID
- CVE-2026-25758 Spree allows unauthenticated users can access all guest addresses
- CVE-2020-26223 Authorization bypass in Spree
Sources
Also known as GHSA-jp57-9j37-5476.