| タイトル | 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 月 ago) |
|---|
| モデレーション | 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 |
|---|