CVE-2026-61671

WeGIA: Systemic IDOR + Missing CSRF — extract($_REQUEST) in All Controle Classes

Published Oct 29, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
WeGIA is a web manager for charitable institutions. Prior to the advisory's stated patched version 3.8.7, the `/controle/control.php` dispatch endpoint accepts attacker-controlled `nomeClasse`, `metodo`, and record identifier parameters through `extract($_REQUEST)`, including id, `idatendido`, `idInterno`, and `id_funcionario`, while the affected Controle CRUD methods do not verify record ownership. Any authenticated user can view, modify, or delete another user's records, exposing CPF, RG, addresses, medical records, financial data, and employee records. `AtendidoControle` lacks ownership checks on alterar, excluir, `listarUm`, `alterarInfPessoal`, `alterarDocumentacao`, `alterarImagem`, `alterarEndereco`, and `alterarStatus`; `InternoControle` lacks them on incluir, alterar, excluir, `listarUm`, `listarTodos`, and `listarCpf`. `FuncionarioControle` lacks ownership checks on `alterarInfPessoal`, `alterarEndereco`, `alterarDocumentacao`, `alterarImagem`, `alterarCargaHoraria`, and excluir; `VoluntarioControle` lacks them on `alterarInfPessoal`, `alterarEndereco`, `alterarDetalhes`, `alterarImagem`, and excluir. `AtendidoControle` and `InternoControle` additionally lack CSRF validation, allowing a malicious page visited by an authenticated victim to perform state-changing operations using the victim's session. `FuncionarioControle` and `VoluntarioControle` have per-method CSRF checks, but those checks do not prevent the object-authorization bypass. The advisory identifies version 3.8.7 as patched.

Analysis

AI-generated

Technical impact

The vulnerability arises from the use of extract($_REQUEST) in the /controle/control.php dispatch endpoint of WeGIA, allowing attackers to set arbitrary request parameters such as nomeClasse, metodo, and various record identifiers (id, idatendido, idInterno, id_funcionario). Because the affected Controle CRUD methods do not enforce ownership checks, any authenticated user can read, modify, or delete records belonging to other users, exposing personal documents, medical records, financial data, and employee information. Additionally, several Controle classes lack CSRF validation, permitting a malicious page visited by a victim to trigger state‑changing operations with the victim’s session, further broadening the scope of the attack.

Affected Systems

All releases of the WeGIA web manager from LabRedesCefetRJ prior to version 3.8.7 are vulnerable. In particular the Controle classes AtendidoControle, InternoControle, FuncionarioControle, and VoluntarioControle are impacted, affecting CRUD operations such as alterar, excluir, listarUm, and others that are missing record‑ownership verification.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated session; the attacker can simply craft HTTP requests targeting the exposed parameters to bypass ownership checks. The missing CSRF protection on key endpoints makes browser‑based CSRF attacks feasible, allowing the attacker to perform these privileged actions without the victim’s conscious participation. Because the flaw is only a missing check in PHP code, no additional infrastructure or privileged access is required, making the likelihood of exploitation high for any organization running unpatched versions of WeGIA.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WeGIA to version 3.8.7 or later, which implements proper ownership checks and CSRF validation across all Controle classes.
  • If an upgrade cannot be applied immediately, restrict accounts that have write privileges to the minimum necessary and consider disabling the affected CRUD methods (alterar, excluir, etc.) for users not required to perform such actions.
  • Add server‑side validation that confirms the authenticated user is the owner of the record before executing any CRUD operation; this can be implemented as a middleware or pre‑filter in the affected Controle classes.
  • Deploy a web‑application firewall rule to block requests that contain the suspicious parameters nomeClasse or metodo, or that attempt to manipulate identifiers beyond the user’s scope.
  • Conduct a comprehensive audit of user accounts and their permissions, ensuring that no role has unrestricted access to sensitive data and that all roles are aligned with the principle of least privilege.

Generated by OpenCVE AI on October 29, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Labredescefetrj
Labredescefetrj wegia
Vendors & Products Labredescefetrj
Labredescefetrj wegia
Type Values Removed Values Added
Description WeGIA is a web manager for charitable institutions. Prior to the advisory's stated patched version 3.8.7, the `/controle/control.php` dispatch endpoint accepts attacker-controlled `nomeClasse`, `metodo`, and record identifier parameters through `extract($_REQUEST)`, including id, `idatendido`, `idInterno`, and `id_funcionario`, while the affected Controle CRUD methods do not verify record ownership. Any authenticated user can view, modify, or delete another user's records, exposing CPF, RG, addresses, medical records, financial data, and employee records. `AtendidoControle` lacks ownership checks on alterar, excluir, `listarUm`, `alterarInfPessoal`, `alterarDocumentacao`, `alterarImagem`, `alterarEndereco`, and `alterarStatus`; `InternoControle` lacks them on incluir, alterar, excluir, `listarUm`, `listarTodos`, and `listarCpf`. `FuncionarioControle` lacks ownership checks on `alterarInfPessoal`, `alterarEndereco`, `alterarDocumentacao`, `alterarImagem`, `alterarCargaHoraria`, and excluir; `VoluntarioControle` lacks them on `alterarInfPessoal`, `alterarEndereco`, `alterarDetalhes`, `alterarImagem`, and excluir. `AtendidoControle` and `InternoControle` additionally lack CSRF validation, allowing a malicious page visited by an authenticated victim to perform state-changing operations using the victim's session. `FuncionarioControle` and `VoluntarioControle` have per-method CSRF checks, but those checks do not prevent the object-authorization bypass. The advisory identifies version 3.8.7 as patched.
Title WeGIA: Systemic IDOR + Missing CSRF — extract($_REQUEST) in All Controle Classes
Weaknesses CWE-352
CWE-639
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 5:06 PM
Reserved
Jul 10, 2026, 6:25 PM
Status
Deferred
Published
Oct 29, 2026, 10:17 PM
Modified
Oct 30, 2026, 5:17 PM