| 标题 | JaguarJack catch-admin v5 Improper Access Controls |
|---|
| 描述 | An issue was discovered in CatchAdmin 5.4.0. In `PUT /api/permissions/roles/{id}`, `RolesController::update` accepts the raw Request object without field-level validation and forwards all request keys to `updateBy()`, where the `changeCreatorId()` server-side stamp only applies when `creator_id` is absent from the request, so an explicitly supplied value overwrites the stored one; the framework's field whitelist is likewise ineffective because the Roles model declares every column in `$fillable`. A low-privileged authenticated attacker holding only the role-update permission can therefore rewrite the `creator_id` of any existing role (post-hoc audit-trail tampering) and set `deleted_at` to soft-delete arbitrary roles, which instantly strips the permissions of every user bound to the deleted role.
|
|---|
| 来源 | ⚠️ https://github.com/JaguarJack/catch-admin/issues/88 |
|---|
| 用户 | AliceS614 (UID 94277) |
|---|
| 提交 | 2026-10-26 16時21分 (29 日前) |
|---|
| 管理 | 2026-11-24 19時44分 (29 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 443232 [JaguarJack catch-admin 直到 5.4.1 RolesController.php update] |
|---|
| 积分 | 20 |
|---|