| Titre | slowlyo owl-admin v4.7.7 Improper Access Controls |
|---|
| Description | An issue was discovered in slowlyo/owl-admin 4.7. The generic CRUD base classes (`AdminController::store/update` → `AdminService::fillModelFromData`) write every request key that corresponds to an actual table column directly onto the Eloquent model via `setAttribute()`, which bypasses Laravel's `$fillable`/`$guarded` mass-assignment protection; the only filter is "is a real column" rather than "may the caller write this field". A low-privileged authenticated attacker with access to a CRUD module (demonstrated on the user-management endpoints) can therefore persist a self-chosen primary key by supplying `id` on creation, overwrite the `remember_token` of arbitrary accounts (the credential used by remember-me cookies), and flip the `enabled` flag of any user. Because the same base class backs all controllers produced by the framework's code generator, every generated business module inherits this write surface. |
|---|
| La source | ⚠️ https://github.com/slowlyo/owl-admin/issues/252 |
|---|
| Utilisateur | AliceS614 (UID 94277) |
|---|
| Soumission | 27/10/2026 07:32 (il y a 29 jours) |
|---|
| Modérer | 25/11/2026 09:29 (29 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 443676 [slowlyo owl-admin jusqu’à 4.7.7 AdminService.php fillModelFromData id/remember_token/enabled élévation de privilèges] |
|---|
| Points | 20 |
|---|