Enviar #1058863: slowlyo owl-admin v4.7.6 improper access controlinformación

Títuloslowlyo owl-admin v4.7.6 improper access control
DescripciónAn 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).
Fuente⚠️ https://github.com/slowlyo/owl-admin/issues/247
Usuario
 AliceS614 (UID 94277)
Sumisión2026-10-27 04:59 (hace 29 días)
Moderación2026-11-25 09:26 (29 days later)
EstadoAceptado
Entrada de VulDB443668 [slowlyo owl-admin hasta 4.7.6 User Management AdminUserService.php saveData roles escalada de privilegios]
Puntos20

Do you want to use VulDB in your project?

Use the official API to access entries easily!