Skip to main content

WeGIA CVE-2025-61606

| EUVDEUVD-2025-33208 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2025-10-02 security-advisories@github.com
4.8
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft WeGIA link with malicious nextPage
  2. Delivery
    Deliver link to authenticated user
  3. Exploit
    Victim clicks trusted-domain URL
  4. Execution
    Server issues header redirect
  5. Persist
    Browser lands on attacker phishing site
  6. Impact
    Harvest 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 13, 2026 - 19:12 CVSS 6.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

WeGIA < 3.5.0

Affected Packages

euvd wegia fix: 3.5.0

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

Vendor (github) PRIMARY 4.8 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

5
CVSS changed
Oct 08, 2026 - 23:22 NVD
6.1 (MEDIUM) 4.8 (MEDIUM)
PoC Detected
Oct 07, 2025 - 15:41 vuln.today
Public exploit code
Patch released
Oct 07, 2025 - 15:41 nvd
Patch available
CVE Published
Oct 02, 2025 - 21:16 nvd
MEDIUM 6.1
CVE Published
Oct 02, 2025 - 21:16 cve.org
MEDIUM 4.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Prevalence
Rare
niche open-source manager for charitable institutions, tiny deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Wegia

View all
CVE-2025-50201 CRITICAL POC
9.8 Jun 19

Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio

CVE-2025-27140 CRITICAL POC
10.0 Feb 24

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26613 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-55169 CRITICAL POC
10.0 Aug 12

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical

CVE-2025-30364 CRITICAL POC
10.0 Mar 27

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-46828 CRITICAL POC
10.0 May 07

WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26612 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26617 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26611 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26609 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26608 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26607 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy