CVE-2026-31896
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
LabRedesCefetRJ WeGIA< 3.6.6CVE List
wegia wegiabefore 3.6.6NVD

Classification

CWE-89

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

WeGIA es un gestor web para instituciones benéficas. Antes de la versión 3.6.6, existe una vulnerabilidad crítica de inyección SQL en la aplicación WeGIA. El script remover_produto_ocultar.php utiliza extract($_REQUEST) para poblar variables locales y luego concatena directamente estas variables en una consulta SQL ejecutada a través de PDO::query. Esto permite a un atacante autenticado (o con autenticación eludida) ejecutar comandos SQL arbitrarios. Esto puede usarse para exfiltrar datos sensibles de la base de datos o, como se demuestra en esta PoC, causar un retardo basado en el tiempo (denegación de servicio). Esta vulnerabilidad está corregida en la 3.6.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31896 changed 2026-03-12CVE Terms of Use
NVDCVE-2026-31896 changed 2026-06-17Public domain