Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft WeGIA link with malicious nextPage
-
DeliveryDeliver link to authenticated user
-
ExploitVictim clicks trusted-domain URL
-
ExecutionServer issues header redirect
-
PersistBrowser lands on attacker phishing site
-
ImpactHarvest credentials or deliver payload
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
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 | Exploitation targets the control.php endpoint when invoked with metodo=listarUm&nomeClasse=FuncionarioControle, where the nextPage parameter is passed unvalidated into a 'header('Location:' . $nextPage)' response (confirmed by the patch diff in FuncionarioControle.php). Limiting factors: the CVSS vector specifies PR:L, so the attacker needs a valid authenticated WeGIA session context / the target flow is behind login, and UI:A (Active) means a victim must actually click the crafted link for redirection to occur. It is effective only on WeGIA 3.4.12 and below; version 3.5.0 hardcodes the redirect to an internal path, removing attacker control. |
| Impact | This is a genuinely low-priority, real-world-low-risk issue despite a MEDIUM CVSS (4.8, CVSS:4.0). All signals align toward low urgency rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:A) shows a network-reachable but authentication-gated flaw (PR:L) that additionally requires victim user interaction (UI:A) - a victim must follow the attacker-influenced link. Impact metrics are only Low across confidentiality and integrity (VC:L/VI:L, VA:N), consistent with an open redirect (CWE-601) that does not compromise the server itself. EPSS is 0.04% (10th percentile), indicating negligible predicted exploitation, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation. A POC does exist (the GitHub Security Advisory GHSA-m64v-hm7q-33wr), but POC availability is distinct from active exploitation and does not raise this to priority status. The practical risk is as a phishing/credential-theft enabler leveraging the trusted WeGIA domain, not as a server-compromise vector. No SSVC decision data was provided in the input. Bottom line: patch in routine maintenance; this does not warrant emergency response. |
| Exploit ScenarioDerived | An attacker crafts a WeGIA control.php URL where the nextPage parameter (metodo=listarUm&nomeClasse=FuncionarioControle) points to an attacker-controlled external domain, then sends it to an authenticated WeGIA user via email or chat. The victim, trusting the legitimate WeGIA domain, clicks the link and is silently redirected to a phishing page harvesting credentials or serving malware. A publicly available exploit/advisory (GHSA-m64v-hm7q-33wr) documents the technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 08, 2026
Open redirect in WeGIA 3.4.12 and earlier lets an authenticated attacker craft a link to the control.php endpoint (metodo=listarUm&nomeClasse=FuncionarioControle) whose unsanitised nextPage parameter is reflected directly into an HTTP Location header, sending a victim who clicks it to any external domain the attacker chooses. The CVSS vector (PR:L, UI:A) confirms a valid WeGIA session context is required and that the victim must actively click the crafted link, so the practical impact is limited to phishing-style abuse - credential theft or delivery of malicious payloads under the trusted institution's domain - rather than server compromise. Publicly available exploit code exists (the vendor's own GHSA-m64v-hm7q-33wr advisory) and EPSS is only 0.04% (10th percentile); there is no CISA KEV listing, and the independent assessment rates this a genuinely low-priority, real-world-low-risk issue despite the MEDIUM CVSS of 4.8. The vulnerability is fixed in WeGIA 3.5.0.
Earlier versions of this analysis (1)
RemediationAI
Upgrade to WeGIA 3.5.0, the vendor-released patch version that removes attacker control of the redirect; the specific fix is upstream commit 85051ad14b1e7fa14116e74a90c0bd5480b2ec84 in the LabRedesCefetRJ/WeGIA repository, which hardcodes the Location header to an internal profile path and replaces extract($_REQUEST) with filter_input-based handling of id_funcionario. Details and the patched-versions statement are in the GitHub advisory at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-m64v-hm7q-33wr. If upgrading immediately is not possible, apply targeted compensating controls rather than generic hardening: patch or wrap the header('Location:' . $nextPage) call so that nextPage is only accepted when it resolves to a known relative path within the WeGIA installation (allow-list the expected ../html/... destinations and reject any value containing '://', a leading '//' or non-ASCII/encoded slashes) - this breaks the vulnerable flow but will also break any legitimate deep-link that relied on nextPage, so those links must be regenerated with the new id_funcionario-only format; additionally, because the abuse vector is a phishing link under the institution's trusted domain, deploy an outbound-redirect check at the web-tier or proxy to strip or block Location headers pointing to external hosts, and rotate or warn users about unsolicited login links. Changing the requirement for a valid authenticated session (PR:L) is not an available mitigation since the endpoint must remain logged-in. None of these controls fix the underlying code path, so upgrade to 3.5.0 remains the recommended action.
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 manager for charitable institutions. Its front controller, controle/control.php, dispatches requests to controller classes using the metodo and nomeClasse request parameters, and several call sites used extract($_REQUEST) to populate local variables from arbitrary request data. In FuncionarioControle.php's listarUm flow, the nextPage request parameter was taken verbatim and written into a header('Location:' . $nextPage) response, the classic CWE-601 URL Redirection to Untrusted Site pattern: no scheme/host allow-listing, no path normalisation, and no fixed base URL, so any absolute URL the attacker supplies becomes the redirect target. The upstream fix commit 85051ad14b1e7fa14116e74a90c0bd5480b2ec84 removes the attacker-controlled redirect entirely, hardcoding the destination as WWW . "/html/funcionario/profile_funcionario.php?id_funcionario=" concatenated with a properly filtered integer id, and replaces extract($_REQUEST) with filter_input(INPUT_GET, 'id_funcionario', FILTER_SANITIZE_NUMBER_INT) plus an InvalidArgumentException guard. The same commit also parameterises previously concatenated SQL queries in html/funcionario/profile_funcionario.php and adds an unconditional require_once based on dirname(__FILE__), indicating a broader hardening pass on the same request-handling code path. The CPE cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:* denotes the project itself with no version constraint encoded, so version scope must be taken from the EUVD data (WeGIA < 3.5.0) and the vendor advisory.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Network-reachable but the affected flow requires an authenticated session (PR:L) and a victim must click the link (UI:R); redirecting the user to an external domain crosses a trust boundary (S:C) with only low confidentiality/integrity impact and no availability loss.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
5DescriptionCVE.org
WeGIA is an open source web manager with a focus on charitable institutions. Versions 3.4.12 and below contain an Open Redirect vulnerability, identified in the control.php endpoint, specifically in the nextPage parameter (metodo=listarUmnomeClasse=FuncionarioControle). This vulnerability allows attackers to redirect users to arbitrary external domains, enabling phishing campaigns, malicious payload distribution, or user credential theft. This issue is fixed in version 3.5.0.
Executive ViewAI
Organizations using WeGIA should be aware of moderate risk from CVE-2025-61606 rated CVSS 6.1. Exploitation could compromise the security of affected deployments. Proof-of-concept code is publicly available. A patch is available and should be applied during regular vulnerability management.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
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
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-2025-33208
NVD
CVE.org
EPSS
GitHub
Exploit-DB