Description
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.
Published: 2026-10-14
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Session Hijacking & Information Disclosure
Action: Patch Immediately
AI Analysis

Impact

An attacker can insert a custom PHPSESSID cookie in the request and the vulnerable session handler echoes that value back in a Set‑Cookie response. The domain attribute of the cookie is derived from the internal DB_HOST hostname, which leaks the database server name to the client. With these two effects, a user who authenticates while using the attacker‑supplied cookie will have a session identifier that the attacker knows, enabling the attacker to hijack the user's authenticated session. This also discloses internal infrastructure details, which can facilitate further attacks. The weakness directly corresponds to‑384) and information exposure (CWE‑200).

Affected Systems

Products from LabRedesCefetRJ named WeGIA are impacted. Versions prior to 3.8.6, including all releases that use the default sessionStart.php handler, are vulnerable. The problem affects every PHP page that relies on the sessionStart.php script to initialize the session. The recommended fix is to upgrade to WeGIA 3.8.6 or later, which removes the echo of the attacker‑supplied cookie and stops using DB_HOST as the cookie domain.

Risk and Exploitability

The CVSS score of 8.1 categorizes this flaw as high severity. EPSS data is not available, so the probability of exploitation is unknown, and the vulnerability is not listed in the CISA KEV catalog, indicating no known widespread exploitation. The most likely attack vector is remote and straightforward: an attacker simply sets a PHPSESSID cookie in a link or HTTP header; when a victim logs in using that cookie, the attacker gains immediate access to the victim’s session. No additional access requirements or privileged context are needed, making the attack feasible against any authenticated user.

Generated by OpenCVE AI on October 15, 2026 at 13:12 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade WeGIA to version 3.8.6 or later to remove the vulnerable session handling logic.
  • If an upgrade cannot be performed immediately, modify the sessionStart.php file to eliminate echoing the PHPSESSID cookie value and set the cookie domain to a neutral value or disable it entirely.
  • Apply secure cookie attributes (HttpOnly, Secure, SameSite=Strict) to all session cookies to prevent involuntary claim of session identifiers by network attacks.

Generated by OpenCVE AI on October 15, 2026 at 13:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Labredescefetrj
Labredescefetrj wegia
Vendors & Products Labredescefetrj
Labredescefetrj wegia

Thu, 15 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 20:00:00 +0000

Type Values Removed Values Added
Description 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.
Title WeGIA: Session Fixation via User-Controlled PHPSESSID Cookie + DB_HOST Leak in html/seguranca/sessionStart.php
Weaknesses CWE-200
CWE-384
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}


Subscriptions

Labredescefetrj Wegia
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T13:58:06.066Z

Reserved: 2026-06-17T00:13:10.649Z

Link: CVE-2026-55682

cve-icon Vulnrichment

Updated: 2026-10-15T13:58:01.070Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T20:17:50.487

Modified: 2026-10-15T14:17:26.393

Link: CVE-2026-55682

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T17:15:11Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-384

    Session Fixation