Description
Shopper from 2.0.0 before 2.6.0 contains a missing authorization vulnerability that allows admin-panel users holding only access_dashboard to create administrators and grant permissions. Attackers can call CreateTeamMember::store() or Permissions::togglePermission() directly over /livewire/update to create admin accounts and escalate to full administrator.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| shopperlabs | shopper | 2.0.0 – < 2.6.0 | 2.6.0 |
References
- https://github.com/shopperlabs/shopper/issues/433 issue-tracking
- https://github.com/shopperlabs/shopper/commit/d1ac6cee2f02e5a84262fbeb87c689bd38df672f patch
- shopper v2.6.0 Release Notes release-notes
- https://github.com/shopperlabs/shopper/blob/v2.5.0/packages/admin/src/Livewire/SlideOvers/CreateTeamMember.php#L102-L123 technical-description
- https://github.com/shopperlabs/shopper/blob/v2.5.0/packages/admin/src/Livewire/Components/Settings/Team/Permissions.php#L18-L49 technical-description
- VulnCheck Advisory: Shopper 2.0.0 before 2.6.0 Privilege Escalation via Unguarded Livewire Components third-party-advisory