Skip to content

CVE-2026-31896 WeGIA has a Time-Based Blind SQL Injection in remover_produto_ocultar.php

CriticalCVSS 9.8 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
PHP

Description

WeGIA is a web manager for charitable institutions. Prior to version 3.6.6, a critical SQL injection vulnerability exists in the WeGIA application. The remover_produto_ocultar.php script uses extract($_REQUEST) to populate local variables and then directly concatenates these variables into a SQL query executed via PDO::query. This allows an authenticated (or auth-bypassed) attacker to execute arbitrary SQL commands. This can be used to exfiltrate sensitive data from the database or, as demonstrated in this PoC, cause a time-based delay (denial of service). This vulnerability is fixed in 3.6.6.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
wegia < 3.6.6 3.6.6 Fixed
LabRedesCefetRJ WeGIA = < 3.6.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
LabRedesCefetRJ WeGIA = < 3.6.6 No fix listed
wegia < 3.6.6 3.6.6

References