| 标题 | JaguarJack catch-admin v5 Improper Access Controls |
|---|
| 描述 | An issue was discovered in CatchAdmin 5.4.0. The user management endpoints `POST /api/users` and `PUT /api/users/{id}` allow a low-privileged authenticated attacker (any account holding only the user module's create/update permission) to write fields that should never be request-controlled. The controllers forward the entire request body (`$request->all()`) into the model layer, where the framework's field whitelist (`filterData()`, which permits `merge($fillable, $form)`) is ineffective because the User model declares every column in `$fillable`; the server-side `creator_id` stamp only applies when the key is absent from the request, and the update path performs no object-level authorization. Consequently, the attacker can forge audit attribution (`creator_id`), persist a self-chosen primary key (`id`), soft-delete arbitrary accounts (`deleted_at`), forge `login_ip`/`login_at` audit records, overwrite the `remember_token` of any user, and change any user's password — including the super administrator's — resulting in full account takeover.
|
|---|
| 来源 | ⚠️ https://github.com/JaguarJack/catch-admin/issues/86 |
|---|
| 用户 | AliceS614 (UID 94277) |
|---|
| 提交 | 2026-10-26 16時17分 (1 月前) |
|---|
| 管理 | 2026-11-24 19時43分 (29 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 443230 [JaguarJack catch-admin 直到 5.4.1 User Management UserController.php Store/Update 权限提升] |
|---|
| 积分 | 20 |
|---|