| Titre | slowlyo owl-admin v4.7.6 improper access control |
|---|
| Description | An issue was discovered in slowlyo/owl-admin 4.7.6. The user creation endpoint `POST /admin-api/system/admin_users` performs no validation on the `roles` request parameter before passing it to `roles()->sync()`, as `AdminUserService::saveData` pulls the value directly from the request body. A low-privileged authenticated attacker who holds only the user-management permission can therefore create a new administrator account bound to the built-in super-administrator role (slug `administrator`) by sending `"roles": [1]`. Since `AdminUser::isAdministrator()` short-circuits all permission checks in the `Permission` middleware, the newly created account gains unrestricted control of the application. The existing safeguards (role dropdown filtering in `roleOptions()` and the super-administrator deletion ban) only affect the UI listing and the delete path, not the write path. The issue was acknowledged by the developer and fixed in version 4.7.7 (PR #248, released on 2026-10-27, the same day as the report). |
|---|
| La source | ⚠️ https://github.com/slowlyo/owl-admin/issues/247 |
|---|
| Utilisateur | AliceS614 (UID 94277) |
|---|
| Soumission | 27/10/2026 04:59 (il y a 1 mois) |
|---|
| Modérer | 25/11/2026 09:26 (29 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 443668 [slowlyo owl-admin jusqu’à 4.7.6 User Management AdminUserService.php saveData roles élévation de privilèges] |
|---|
| Points | 20 |
|---|