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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
LabRedesCefetRJ WeGIA
< 3.8.6affected
References
- 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 ↗