Spree app/models/spree/user.rb Mass Role Assignment Remote Privilege Escalation
Published: February 21, 2013
SECURITY IDENTIFIERS
- CVE: CVE-2013-2506 (NVD)
- GHSA: GHSA-jp57-9j37-5476
- OSVDB: OSVDB-90865
- Vendor Advisory: https://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
GEM
SEVERITY
CVSS v2.0: 4.0 (Medium)
PATCHED VERSIONS
~> 1.1.6
~> 1.2.0
>= 1.3.0
DESCRIPTION
Spree contains a flaw that leads 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.
