Executive brief
WeGIA is a web-based management platform used by charitable institutions to organize their operations. A security flaw in the application allows attackers to redirect logged-in users to external, potentially malicious websites. This could be used in phishing campaigns to steal user credentials or distribute malware by making a malicious link appear to come from a trusted institutional domain.
Technical details
An open redirect vulnerability exists in the `control.php` endpoint of WeGIA due to insufficient validation of the `nextPage` parameter. When the application processes a request with `metodo=listarTodos` and `nomeClasse=InternoControle`, it fails to restrict the destination URL passed to the `header('Location: ...')` function. Exploitation requires the attacker to have a low-privileged authenticated session, as the middleware allows any logged-in user to pass when a resource list is empty. An attacker can craft a URL that, when clicked by an authenticated user, redirects them to an untrusted external domain. This issue is resolved in version 3.7.3.
Affected products
- LabRedesCefetRJ WeGIA <= 3.7.2
Timeline
- 2026-05-09: advisory: GitHub advisory published by developer
- 2026-05-27: disclosed: CVE published to NVD
- 2026-05-27: patched: Fix released in version 3.7.3