# CVE-2013-2506: spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles

Source: https://junglewise.ai/threats/cve-2013-2506-spree-auth-devise-allows-remote-authenticated-users-to-assign  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2013-2506 · Severity: info · Published 2022-05-17

spree_auth_devise allows remote authenticated users to assign themselves arbitrary roles

Technologies: [spree_auth_devise (RubyGems)](https://junglewise.ai/threats/technologies/spree-auth-devise). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2013-2506 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-2506 being exploited in the wild.

**How severe is CVE-2013-2506?** Informational severity, published 17 May 2022.

**Which products and versions are affected?** spree_auth_devise (RubyGems) ECOSYSTEM:introduced=1.0.0,fixed=3.0.5.

**Is there a fix for CVE-2013-2506?** Yes. spree_auth_devise (RubyGems): upgrade to 3.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-2506?** Check whether you run spree_auth_devise (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- spree_auth_devise (RubyGems): upgrade to 3.0.5 or later

  ```sh
  bundle update spree_auth_devise
  ```


## Affected products

- spree_auth_devise (RubyGems) ECOSYSTEM:introduced=1.0.0,fixed=3.0.5

## Identifiers

- CVE-2013-2506
- GHSA-jp57-9j37-5476

## Related threats

- [Duplicate Advisory: Authentication Bypass by CSRF Weakness](https://junglewise.ai/threats/duplicate-advisory-authentication-bypass-by-csrf-weakness-2fac80ce)
- [Duplicate Advisory: Authentication Bypass by CSRF Weakness](https://junglewise.ai/threats/duplicate-advisory-authentication-bypass-by-csrf-weakness-24689fbe)
- [Duplicate Advisory: Authentication Bypass by CSRF Weakness](https://junglewise.ai/threats/duplicate-advisory-authentication-bypass-by-csrf-weakness-a28a9860)
- [Spree Auth Devise vulnerability allows for authentication bypass through CSRF weakness](https://junglewise.ai/threats/cve-2021-41275-spree-auth-devise-vulnerability-allows-for-authentication-bypass)
