Skip to main content

WeGIA CVE-2026-55682

| EUVDEUVD-2026-101624 HIGH
Information Exposure (CWE-200)
2026-10-14 security-advisories@github.com
8.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Deliver attacker-chosen PHPSESSID to victim
  2. Delivery
    Victim authenticates to WeGIA
  3. Exploit
    Session fixed to known identifier
  4. Execution
    Reuse identifier to hijack session
  5. Impact
    Access authenticated account and leaked DB host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the auto-prepended web/html/seguranca/sessionStart.php session handler (present on all PHP pages prior to 3.8.6) reflects the attacker-supplied PHPSESSID cookie into a Set-Cookie response. The attack is gated by victim interaction (UI:R): a legitimate user MUST authenticate while carrying the attacker-selected PHPSESSID for the hijack to succeed, so the attacker must first deliver that identifier to the victim (e.g., via a crafted link/response). It is otherwise remote and unauthenticated from the attacker's side (PR:N). The secondary internal database host disclosure occurs automatically through the cookie Domain attribute (set to DB_HOST). Limiting factors: success depends on the victim logging in under the fixed identifier, and the issue is fully remediated by upgrading to WeGIA 3.8.6, which switches to session_set_cookie_params()/session_start() with Secure, HttpOnly, and SameSite=Strict.

Impact

This is a genuine session-hijacking flaw with a moderate, conditional risk profile. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N, 8.1 HIGH) is network-reachable and needs no attacker privileges, but the UI:R metric is load-bearing: exploitation is a session-fixation chain that only succeeds if a victim authenticates while using the attacker-selected PHPSESSID, so this is a targeted/social-engineering attack rather than a mass-exploitable RCE. No EPSS score, KEV listing, or published POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The affected product (WeGIA, a niche manager for charitable institutions) has a small deployment footprint, which further lowers real-world priority. Note a signal nuance: the input is tagged and classified as CWE-200 Information Disclosure, but the dominant impact per the description is authenticated session hijacking (session fixation) - the DB_HOST disclosure via the cookie Domain attribute is the secondary effect. Treat the C:H/I:H as driven by account takeover, not merely data leakage. Overall: a real bug worth patching promptly for WeGIA operators, but not a widespread-internet-scanning emergency.

Exploit ScenarioDerived

An attacker crafts a link or request that seeds a victim's browser with an attacker-chosen PHPSESSID value, which the vulnerable sessionStart.php reflects back verbatim in a Set-Cookie header. The victim then logs into WeGIA under that fixed identifier, and the attacker - who already knows the identifier - reuses it to ride the now-authenticated session. No public exploit code was identified, though the fix commit publicly reveals the vulnerable Set-Cookie logic.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 14, 2026

Session hijacking in WeGIA prior to 3.8.6 lets an unauthenticated remote attacker fix a victim's PHP session identifier and later reuse it as the victim's authenticated session. The auto-prepended web/html/seguranca/sessionStart.php reflects an attacker-supplied PHPSESSID value into a Set-Cookie response and sets the cookie Domain attribute to DB_HOST, so the same handler also leaks the internal database hostname to any visitor. Exploitation is conditional on victim interaction: the victim must log in while carrying the attacker-chosen identifier, and no public exploit code was identified at time of analysis; upgrading to 3.8.6 removes the flaw.

RemediationAI

Apply the vendor's fix by upgrading WeGIA to 3.8.6 or later, which replaces the manual Set-Cookie reflection with session_set_cookie_params() plus session_start() using Secure, HttpOnly, SameSite=Strict, a 1800-second lifetime, and no custom Domain; the release is available at https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6 and the patch is visible at https://github.com/LabRedesCefetRJ/WeGIA/commit/f59cad3ac7292225e88699cac82775a9f534be05. If immediate upgrading is not possible, use the patch PR https://github.com/LabRedesCefetRJ/WeGIA/pull/1705 to backport the session configuration into sessionStart.php, and in the interim regenerate session identifiers on every successful authentication (session_regenerate_id(true)) so a pre-set PHPSESSID cannot survive login; note this compensating control does not stop the DB_HOST disclosure through the reflected cookie Domain, which only the code fix addresses. Additional hardening options: front the application with a reverse proxy that strips or rewrites client-supplied PHPSESSID cookie names (side effect: may break legitimate clients that rely on the name), rotate database credentials and treat DB_HOST as disclosed for affected deployments, and enforce HSTS so the Secure flag cannot be downgraded on first contact.

Affected VersionsENISA

WeGIA < 3.8.6

Affected Packages

euvd wegia fix: 3.8.6

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 application, and its security bootstrap file web/html/seguranca/sessionStart.php is auto-prepended to every PHP page, making this a cross-cutting session-handling defect rather than an isolated endpoint bug. Prior to 3.8.6 the file read $_COOKIE['PHPSESSID'] and emitted it verbatim in a manual header("Set-Cookie: PHPSESSID=...; domain=" . DB_HOST . "...") call, which both reflects attacker-controlled input into a response header and hard-codes the internal database host as the cookie scope. That combination produces a session fixation primitive (an attacker who can deliver a chosen PHPSESSID to the victim can adopt that same identifier after the victim authenticates) plus a CWE-200 information-exposure side effect, since the Domain attribute discloses DB_HOST to any client. The upstream commit f59cad3ac replaces the manual header with session_set_cookie_params() followed by session_start(), applying lifetime 1800, path '/', Secure, HttpOnly, and SameSite=Strict and no longer setting a custom Domain, which server-side generates a fresh identifier and stops the reflection. The CVSS vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N confirms remote, unauthenticated attacker access gated by victim interaction, with high confidentiality and integrity impact and no availability impact; the CWE-200 classification captures the hostname disclosure but understates the accompanying session-hijacking behavior.

Know when PHP 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 8.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

Remote, no attacker privileges (PR:N), but victim must authenticate under the fixed identifier (UI:R); session takeover yields high confidentiality and integrity, no availability impact.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Oct 14, 2026 - 21:18 EUVD
CVE Published
Oct 14, 2026 - 20:17 cve.org
HIGH 8.1

DescriptionCVE.org

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.

Technical POC Analysis

Session fixation (CWE-384) combined with information exposure (CWE-200); the CVE record carries only CWE-200, while the advisory lists both.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity session-hijacking flaw affects WeGIA versions prior to 3.8.6, allowing an attacker to pre-set a user's session identifier and later ride that user's authenticated session, while simultaneously disclosing the internal database hostname to any visitor. Exploitation depends on a victim logging in while carrying the attacker-chosen identifier, which means affected staff, administrators, or other account holders may be silently impersonated without any obvious technical signature. Because the flaw also leaks internal infrastructure details, leadership should treat remediation as a priority even though no public exploit code was identified at time of analysis.

Business Impact: High
Compensating Controls

Apply vendor patch. Upgrade to WeGIA 3.8.6 or later, which per the advisory removes the flaw (the tracking feed still lists patch status as unavailable, so confirm current guidance with the vendor). If an immediate upgrade is not possible: regenerate session identifiers on successful login, prevent web/html/seguranca/sessionStart.php from reflecting client-supplied PHPSESSID values into Set-Cookie, avoid setting the cookie Domain attribute to DB_HOST, invalidate existing sessions, restrict network access to the WeGIA instance, and monitor for anomalous PHPSESSID parameter values and unexpected internal hostnames in cookie attributes.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche open-source manager for charitable institutions, limited deployment
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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