| Название | xiaomalover Yii2 CMS 64888f281cbf52e4cf3677da8509beaccc73d5b7 Missing Authorization |
|---|
| Описание | `notCheckPermissionAction` whitelists `admin/rbac/*`, and the backend base controller passes that list to a custom AccessControl filter as `allowActions`. For a whitelisted route the filter's `isActive()` returns `false`, which disables the entire filter object rather than merely skipping the permission lookup, so the login requirement of `yii\filters\AccessControl` is never evaluated. Every role, permission, business-rule and assignment endpoint under `/admin/rbac/` is consequently usable by an anonymous visitor: administrator accounts can be listed, roles and permissions created or deleted, and role assignments changed. The repository's own installation guide instructs operators to comment this entry out only after the permission tree has been configured, so the shipped default is the exposed state. |
|---|
| Источник | ⚠️ https://github.com/weison-tech/yii2-cms/issues/8 |
|---|
| Пользователь | Wuwj (UID 101900) |
|---|
| Представление | 03.11.2026 13:20 (24 дни назад) |
|---|
| Модерация | 27.11.2026 21:40 (24 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 445015 [weison-tech yii2-cms до 1.0.2 RBAC Admin AccessControl.php isActive эскалация привилегий] |
|---|
| Баллы | 20 |
|---|