Authorization bypass in WeGIA lets users access other users' records
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering, Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-352 and CWE-639.
Summary
WeGIA before 3.8.7 lacks ownership checks on record identifiers passed to its controller dispatch endpoint (CWE-639). An authenticated user can view, change or delete other users' records, including CPF, RG, medical and financial data. Some controllers also lack CSRF validation (CWE-352), so a malicious page can act with a logged-in victim's session.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LabRedesCefetRJ | WeGIA | before 3.8.7 | 3.8.7 | Patch available | CNA |
- WeGIA VendorLabRedesCefetRJ Affected before 3.8.7 Fixed in 3.8.7 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:* | — | — | LabRedesCefetRJ |
- cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:* Versions — — ·LabRedesCefetRJ
Remediation
Upgrade WeGIA to version 3.8.7, which the advisory identifies as patched.
Written with Claude Haiku 5.5 from the sources below · 2026-10-30
- Fix · CNA WeGIA (LabRedesCefetRJ) Fixed in 3.8.7
Timeline
- 2026-10-29 Threatist record created from CVE-2026-61671
- 2026-10-30 CISA SSVC decision points changed
- 2026-10-30 Priority changed: MEDIUM → HIGH
References
Other 5
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-rf87-2prr-f2p2
- https://github.com/LabRedesCefetRJ/WeGIA/issues/492
- https://github.com/LabRedesCefetRJ/WeGIA/commit/5fd072a416e3c85817f8b77d47a6d970345b0fc2
- https://github.com/LabRedesCefetRJ/WeGIA/commit/83ae8d1b417e0d8ef6a603ec5745f0967426ca6d
- https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7
More LabRedesCefetRJ vulnerabilities
- TI-2026-74469 SQL injection in WeGIA lets remote attackers read and modify data CVSS 3.1CRITICAL 9.8
- TI-2026-24448 WeGIA has a Time-Based Blind SQL Injection in remover_produto_ocultar.php CVSS 3.1CRITICAL 9.8
- TI-2026-22685 WeGIA Vulnerable to Authentication Bypass via `extract($_REQUEST)` CVSS 3.1CRITICAL 9.8
- TI-2026-22683 WeGIA Vulnerable to Remote Code Execution (RCE) via OS Command Injection CVSS 3.1CRITICAL 10.0
- TI-2026-22682 WeGIA lacks authentication verification in adicionar_tipo_docs_atendido.php CVSS 3.1CRITICAL 9.8
- TI-2025-38628 WeGIA SQL Injection via 'id_dependente' param at endpoint `/html/funcionario/dependente_documento.php` CVSS 4.0CRITICAL 9.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences