نسخههای متأثر
- نسخههای متأثر
- < 2.8.0
- نسخهٔ اصلاحشده
- 2.8.0
بهرهبرداری
شرح آسیبپذیری
Impact
Two distinct authorization defects in the team settings allowed any authenticated panel user to take over the RBAC system:
Settings/Team/Indexhad nomount()authorization. Any authenticated user could load the page and use its public actions to create new roles and delete other users, including administrators.Settings/Team/RolePermissiongated its write actions on the read-onlyview_userspermission. Any user holdingview_userscould grant themselves or any other user arbitrary permissions, includingmanage_usersandedit_orders, effectively escalating to full panel administrator from a read-only account.
Combined, these two defects allow a low-privilege authenticated user to obtain administrator privileges and remove the legitimate administrators from the panel.
Patches
Fixed in v2.8.0:
Settings/Team/Index::mount()now authorizes againstmanage_users.Settings/Team/RolePermissionwrite actions now requiremanage_usersinstead ofview_users.
Upgrade via:
composer require shopper/admin:^2.8
Workarounds
None. Upgrade to v2.8.0.
پیوندها
گزارشدهندگان
- baradika

