Privilege Escalation Affecting spree_auth_devise package, versions < 1.1.6

  • Attack Complexity


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    20 Feb 2013

  • disclosed

    20 Feb 2013

  • credit



spree_auth_devise provides authentication and authorization services for use with spree by using Devise and CanCan.

Affected versions of this gem are vulnerable to unauthorized privileges being gained. The issue is triggered as certain input related to mass role assignment in app/models/spree/user.rb is not properly verified before being used to update a user. This may allow a remote attacker to assign arbitrary roles and gain elevated administrative privileges.

This vulnerability is related to spree_auth.