| Titre | gouguoa 5.x Improper Privilege Management |
|---|
| Description | 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. |
|---|
| La source | ⚠️ https://github.com/Angoddess/CVE/blob/main/README.md |
|---|
| Utilisateur | Angoddess (UID 99654) |
|---|
| Soumission | 09/07/2026 11:57 (il y a 2 mois) |
|---|
| Modérer | 01/09/2026 20:42 (2 months later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 397797 [gouguoa jusqu’à 5.10.0/6.0.1 edit_personal Endpoint Index.php update position_id élévation de privilèges] |
|---|
| Points | 20 |
|---|