| Titel | slowlyo owl-admin v4.7.6 improper access control |
|---|
| Beschreibung | 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). |
|---|
| Quelle | ⚠️ https://github.com/slowlyo/owl-admin/issues/247 |
|---|
| Benutzer | AliceS614 (UID 94277) |
|---|
| Einreichung | 27.10.2026 04:59 (vor 29 Tagen) |
|---|
| Moderieren | 25.11.2026 09:26 (29 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 443668 [slowlyo owl-admin bis 4.7.6 User Management AdminUserService.php saveData roles erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|