Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any low-privilege WeGIA account
-
DeliveryCraft POST to /controle/control.php with victim record ID
-
Exploitextract($_REQUEST) binds attacker-controlled id and missing ownership check is bypassed
-
ExecutionView, modify, or delete another user's record
-
ImpactExfiltrate or tamper with CPF, RG, medical and financial PII
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold any authenticated WeGIA session (PR:L) - exploitation works against a default configuration of WeGIA <=3.8.6 with no special feature toggle required, since the vulnerable extract($_REQUEST) dispatch and absent ownership checks are present by default across AtendidoControle, InternoControle, FuncionarioControle, and VoluntarioControle. The primary limiting factor is that a valid account is required; privilege level within that account does not matter because no ownership or role check gates the CRUD methods. For the CSRF-based variant, exploitation is limited to AtendidoControle and InternoControle (which perform zero CSRF validation) and additionally requires an already-authenticated victim to visit an attacker-controlled page; FuncionarioControle and VoluntarioControle enforce per-method CSRF tokens, so their methods are reachable only through the direct authenticated IDOR path, not via cross-site forgery. |
| Impact | This is a genuine prioritization candidate rather than a paper-high CVSS. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, scored 8.1) is internally consistent with the described mechanism: a network-reachable dispatch endpoint that any low-privileged authenticated user can abuse with low complexity and no victim interaction to read, modify, or delete other users' records (high confidentiality and integrity impact, no availability impact). The authentication requirement (PR:L) is the single most important risk-limiting signal and is confirmed by the vector - this is not a pre-auth internet-facing worm candidate. The vuln.today Decision label is 'this_week', indicating elevated but not emergency urgency. No EPSS probability is supplied in the input and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation; the absence of both signals, combined with a niche product, points to low likelihood of widespread opportunistic attack. A public PoC reference exists in the GHSA advisory (working curl commands and a CSRF HTML form), which lowers the skill barrier for anyone who can authenticate. Note one discrepancy to flag for verification: the GHSA advisory self-scores this 7.5 while the input CVSS Score is 8.1, though both cite the identical vector string - the numeric difference does not change the severity tier (High). |
| Exploit ScenarioDerived | A low-privileged authenticated WeGIA user (or an attacker who has obtained any valid account) sends a crafted POST to /controle/control.php setting nomeClasse, metodo, and a victim record identifier such as idatendido=2; because the targeted Controle method runs extract($_REQUEST) and performs no ownership check, the attacker reads or overwrites another person's record containing CPF, RG, medical and financial data. A public PoC (curl commands and a CSRF auto-submit form) is published in the GHSA advisory; for AtendidoControle and InternoControle, which lack CSRF validation, the attacker can alternatively host a malicious page that performs the state-changing request using an authenticated victim's session when the victim visits it. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 29, 2026
Any authenticated user of WeGIA 3.8.6 and earlier can read, modify, or delete records belonging to other users because the /controle/control.php dispatch endpoint passes attacker-controlled nomeClasse, metodo, and record-identifier parameters into controller methods through extract($_REQUEST) and the Controle CRUD methods never check record ownership (CWE-639). Exposed data spans CPF, RG, addresses, medical records, financial data, and employee records across AtendidoControle, InternoControle, FuncionarioControle, and VoluntarioControle, and AtendidoControle plus InternoControle additionally perform zero CSRF validation (CWE-352), so a malicious page opened by an already-authenticated victim can trigger state-changing operations with the victim's session; FuncionarioControle and VoluntarioControle carry per-method CSRF tokens but still lack ownership checks. Assessed CVSS 3.1 score is 8.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N), exploitation requires only a valid low-privileged account against a default configuration, and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to WeGIA 3.8.7 or later; the fixes are visible in commits 5fd072a416e3c85817f8b77d47a6d970345b0fc2 (which adds Csrf::validateToken() checks to the AtendidoControle methods alterar, excluir, alterarInfPessoal, alterarDocumentacao, alterarImagem, alterarEndereco and alterarStatus) and 83ae8d1b417e0d8ef6a603ec5745f0967426ca6d, with the release at https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7 and the advisory at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-rf87-2prr-f2p2. Because the vulnerable extract($_REQUEST) dispatch and the missing ownership checks are present by default with no feature toggle to disable them, no configuration-only workaround removes the exposure; for backporting or custom hardening the advisory prescribes replacing extract() with filter_input(INPUT_POST, 'id', FILTER_VALIDATE_INT), adding an ownership verification before every DAO read/write that compares the fetched record's id_pessoa to $_SESSION['id_pessoa'] unless the caller is an administrator, adding Csrf::validateToken() to AtendidoControle and InternoControle, and centralizing authorization in middleware that checks record ownership ahead of each DAO operation - each of these is a code change that must be validated against existing admin workflows, since rejecting cross-user requests can break legitimate staff views of client records unless an explicit administrator role bypass is defined.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WeGIA is a PHP web application for charitable institutions that uses a front-controller dispatch endpoint, /controle/control.php, which instantiates a controller class named by the request-supplied nomeClasse parameter and invokes the method named by metodo. Each of those controller methods calls extract($_REQUEST), which imports every request key directly into local scope; the advisory counts 119+ such extract() calls across the code base. Because the record identifier variables (id, idatendido, idInterno, id_funcionario) are also attacker-controlled and the DAO calls such as $atendidoDAO->alterar($idatendido, ...) and $atendidoDAO->excluir($idatendido) never compare the target record against $_SESSION['id_pessoa'], the root cause is an insecure direct object reference (CWE-639) layered on unsafe PHP variable injection rather than a single missing filter. The companion CSRF weakness (CWE-352) is configuration-dependent per controller: AtendidoControle contains 0 Csrf::validateToken() calls across its eight affected methods and InternoControle 0 across six, so cross-site form posts execute with the victim's session, whereas FuncionarioControle (13 token checks) and VoluntarioControle (6) block forgery but still allow the direct authenticated IDOR path because token validation is not an authorization control.
Know when Wegia gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Any authenticated user can exploit it over the network with no interaction (PR:L, AV:N, AC:L, UI:N); records are read and altered (C:H/I:H) but no availability loss or scope change (A:N, S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Two chained defects, both in WeGIA's own application code, not in a third-party library.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in WeGIA, the organization's social assistance management platform, allows any authenticated user to access and modify sensitive records of other users, including medical, financial, and personal data. This breach of confidentiality and integrity affects all user data in the system and could lead to privacy violations, financial fraud, and reputational harm, requiring immediate leadership attention and action.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
EUVD-2026-113397
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB