solidus_core is vulnerable to Missing Authorization
72
CVE Score
High
Missing Authorization
Spree::UserMethods#update_spree_roles selects the roles an admin can grant by calling Spree::Role.accessible_by(ability). That call uses the broadest action granted on Role, not the :manage action. A user with a narrower UserManagement permission on Role can assign any role, including the admin role, to any account and then change any admin's password. The fix calls accessible_by(ability, :manage) so only roles the ability can manage are included.
Upgrade the solidus_core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you grant any users a role with UserManagement permissions narrower than full :manage access on Role.
2.11.0 - 4.6.3
Fixed in 4.6.44.7.0 - 4.7.1
Fixed in 4.7.2solidus_core is vulnerable to Missing Authorization in versions 2.11.0 - 4.6.3 and 4.7.0 - 4.7.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.