Session fixation and database host disclosure in WeGIA
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Information disclosure, Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-200 and CWE-384.
Summary
LabRedesCefetRJ WeGIA before 3.8.6 has a session fixation flaw in html/seguranca/sessionStart.php, which is auto-prepended to all PHP pages. The file reflects an attacker-supplied PHPSESSID cookie in a Set-Cookie response (CWE-384). If a victim logs in with that identifier, a remote attacker can reuse it to hijack the authenticated session. The cookie Domain attribute is set from DB_HOST, which discloses the internal database host name.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, the auto-prepended web/html/seguranca/sessionStart.php reflects an attacker-supplied PHPSESSID cookie in a Set-Cookie response and uses DB_HOST as the cookie domain. If a victim authenticates while using the attacker-selected identifier, the attacker can reuse that identifier to hijack the authenticated session. The response also discloses the internal database host name through the cookie Domain attribute, and the vulnerable session handler affects all PHP pages. This issue is fixed in version 3.8.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LabRedesCefetRJ | WeGIA | before 3.8.6 | 3.8.6 | Patch available | CNA |
- WeGIA VendorLabRedesCefetRJ Affected before 3.8.6 Fixed in 3.8.6 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:* | — | — | LabRedesCefetRJ |
- cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:* Versions — — ·LabRedesCefetRJ
Remediation
Upgrade WeGIA to version 3.8.6, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA WeGIA (LabRedesCefetRJ) Fixed in 3.8.6
Timeline
- 2026-10-15 Threatist record created from CVE-2026-55682
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: MEDIUM → HIGH
References
Other 5
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-5xhr-jrv8-j4j2
- https://github.com/LabRedesCefetRJ/WeGIA/issues/221
- https://github.com/LabRedesCefetRJ/WeGIA/pull/1705
- https://github.com/LabRedesCefetRJ/WeGIA/commit/f59cad3ac7292225e88699cac82775a9f534be05
- https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6
More LabRedesCefetRJ vulnerabilities
- TI-2026-74469 SQL injection in WeGIA lets remote attackers read and modify data CVSS 3.1CRITICAL 9.8
- TI-2026-24448 WeGIA has a Time-Based Blind SQL Injection in remover_produto_ocultar.php CVSS 3.1CRITICAL 9.8
- TI-2026-22685 WeGIA Vulnerable to Authentication Bypass via `extract($_REQUEST)` CVSS 3.1CRITICAL 9.8
- TI-2026-22683 WeGIA Vulnerable to Remote Code Execution (RCE) via OS Command Injection CVSS 3.1CRITICAL 10.0
- TI-2026-22682 WeGIA lacks authentication verification in adicionar_tipo_docs_atendido.php CVSS 3.1CRITICAL 9.8
- TI-2025-38628 WeGIA SQL Injection via 'id_dependente' param at endpoint `/html/funcionario/dependente_documento.php` CVSS 4.0CRITICAL 9.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences