| عنوان | JaguarJack catch-admin v5 Improper Access Controls |
|---|
| الوصف | An issue was discovered in CatchAdmin 5.4.0. In `POST /api/permissions/roles`, `RolesController::store` forwards the entire request body (`$request->all()`) to the model's `storeBy()`, whose field whitelist (`merge($fillable, $form)`) is ineffective because the Roles model declares every column in `$fillable`; the only request validation (`RoleRequest`) covers just `role_name`/`identify`, and the conditional `creator_id` server-side stamp is bypassed whenever the request explicitly carries the field. A low-privileged authenticated attacker holding only the role-creation permission can therefore create a role with a self-chosen primary key (`id`), a forged `creator_id` (e.g., attributing the creation to the super administrator, falsifying the audit trail), and a supplied `deleted_at` that immediately places the newly created role in a soft-deleted state, making it invisible in listings. |
|---|
| المصدر | ⚠️ https://github.com/JaguarJack/catch-admin/issues/87 |
|---|
| المستخدم | AliceS614 (UID 94277) |
|---|
| ارسال | 26/10/2026 04:20 PM (29 أيام منذ) |
|---|
| الاعتدال | 24/11/2026 07:44 PM (29 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 443231 [JaguarJack catch-admin حتى 5.4.1 RolesController.php store] |
|---|
| النقاط | 20 |
|---|