| 标题 | slowlyo owl-admin v4.7.7 Improper Access Controls |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/slowlyo/owl-admin/issues/252 |
|---|
| 用户 | AliceS614 (UID 94277) |
|---|
| 提交 | 2026-10-27 07時32分 (1 月前) |
|---|
| 管理 | 2026-11-25 09時29分 (29 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 443676 [slowlyo owl-admin 直到 4.7.7 AdminService.php fillModelFromData id/remember_token/enabled 权限提升] |
|---|
| 积分 | 20 |
|---|