| Título | gouguoa 5.x Improper Privilege Management |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/Angoddess/CVE/blob/main/README.md |
|---|
| Utilizador | Angoddess (UID 99654) |
|---|
| Submissão | 09/07/2026 11h57 (há 2 meses) |
|---|
| Moderação | 01/09/2026 20h42 (2 months later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 397797 [gouguoa até 5.10.0/6.0.1 edit_personal Endpoint Index.php update position_id Elevação de Privilégios] |
|---|
| Pontos | 20 |
|---|