提交 #1058863: slowlyo owl-admin v4.7.6 improper access control信息

标题slowlyo owl-admin v4.7.6 improper access control
描述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).
来源⚠️ https://github.com/slowlyo/owl-admin/issues/247
用户
 AliceS614 (UID 94277)
提交2026-10-27 04時59分 (1 月前)
管理2026-11-25 09時26分 (29 days later)
状态已接受
VulDB条目443668 [slowlyo owl-admin 直到 4.7.6 User Management AdminUserService.php saveData roles 权限提升]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!