| タイトル | 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) |
|---|
| 送信 | 2026年11月03日 13:20 (24 日 ago) |
|---|
| モデレーション | 2026年11月27日 21:40 (24 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 445015 [weison-tech yii2-cms 迄 1.0.2 RBAC Admin AccessControl.php isActive 特権昇格] |
|---|
| ポイント | 20 |
|---|