| 标题 | gouguoa 5.x Improper Privilege Management |
|---|
| 描述 | ouGuOA (勾股OA) v5.x (including latest v5.10.0) suffers from a mass assignment (batch assignment) vulnerability in the edit_personal endpoint (/home/index/edit_personal). The endpoint uses ThinkPHP's strict(false)->field(true)->update($param) pattern, where $param is derived from get_params() (which returns all user-supplied request parameters without filtering). Although the where clause is hardcoded to ['id' => $this->uid] (restricting updates to the current user's own record), field(true) allows updating all columns of the oa_admin database table, including sensitive permission-related fields such as position_id (position/role ID).
An authenticated attacker with a low-privileged employee account can inject an arbitrary position_id value via the edit_personal request. By setting position_id=1 (the "Super Position" with maximum RBAC privileges), the attacker gains access to all backend management functions including user management, system configuration, department management, and RBAC administration. |
|---|
| 来源 | ⚠️ https://github.com/Angoddess/CVE/blob/main/README.md |
|---|
| 用户 | Angoddess (UID 99654) |
|---|
| 提交 | 2026-07-09 11時57分 (2 月前) |
|---|
| 管理 | 2026-09-01 20時42分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 397797 [gouguoa 直到 5.10.0/6.0.1 edit_personal Endpoint Index.php update position_id 权限提升] |
|---|
| 积分 | 20 |
|---|