CVE-2026-61671
8.1 HIGHpublic exploit availablePublished 2026-10-29 · Updated 2026-10-30
AI risk analysis
- Summary
- The WeGIA application prior to version 3.8.7 suffers from Insecure Direct Object Reference (IDOR) and Cross-Site Request Forgery (CSRF) vulnerabilities in its Controle CRUD endpoints, allowing authenticated users to access, modify, or delete records belonging to other users—including sensitive data like CPF, RG, medical, and financial records—due to missing ownership validation and insufficient CSRF protection on key methods.
- Exploitability
- Exploitation requires only valid authentication (PR:L) and can be performed via crafted HTTP requests to /controle/control.php without user interaction (UI:N), making it highly exploitable by low-privilege attackers.
- Blast radius
- Successful exploitation enables any authenticated attacker to exfiltrate or tamper with sensitive personal, medical, and employee data across the entire user base, potentially compromising confidentiality and integrity of critical institutional records.
- Detection
- Defenders should monitor for repeated requests to /controle/control.php with mismatched user IDs (e.g., session user ID differing from idatendido, id_funcionario, or idInterno parameters), anomalous bulk updates/deletions of records by non-admin users, and CSRF-indicative patterns such as POST requests lacking anti-CSRF tokens to state-changing endpoints.
- Prioritized remediation
- Upgrade to WeGIA version 3.8.7 or later, which patches the IDOR and CSRF flaws; until then, restrict access to /controle/control.php to authorized administrative roles only and disable extract($_REQUEST) usage in favor of explicit parameter handling with ownership verification.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-352, CWE-639
Public exploit & PoC references
- https://github.com/LabRedesCefetRJ/WeGIA/commit/5fd072a416e3c85817f8b77d47a6d970345b0fc2
- https://github.com/LabRedesCefetRJ/WeGIA/commit/83ae8d1b417e0d8ef6a603ec5745f0967426ca6d
- https://github.com/LabRedesCefetRJ/WeGIA/issues/492
- https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-rf87-2prr-f2p2
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-rf87-2prr-f2p2
All references
- https://github.com/LabRedesCefetRJ/WeGIA/commit/5fd072a416e3c85817f8b77d47a6d970345b0fc2
- https://github.com/LabRedesCefetRJ/WeGIA/commit/83ae8d1b417e0d8ef6a603ec5745f0967426ca6d
- https://github.com/LabRedesCefetRJ/WeGIA/issues/492
- https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-rf87-2prr-f2p2
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-rf87-2prr-f2p2
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-59185PoC
- CRITICALCVE-2025-15399
- HIGHCVE-2026-108479
- HIGHCVE-2026-110015
- HIGHCVE-2026-110124PoC
- HIGHCVE-2026-111722PoC
- HIGHCVE-2026-112836
- HIGHCVE-2026-116204PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.