Description
WeGIA is a web manager for charitable institutions. Versions 3.6.5 and below contain an authenticated SQL Injection vulnerability in the html/matPat/restaurar_produto.php endpoint. The vulnerability allows an authenticated attacker to inject arbitrary SQL commands via the id_produto GET parameter, leading to full database compromise. In the script /html/matPat/restaurar_produto.php, the application retrieves the id_produto parameter directly from the $_GET global array and interpolates it directly into two SQL query strings without any sanitization, type-casting (e.g., (int)), or using parameterized (prepare/execute) statements. This issue has been fixed in version 3.6.6.
Published: 2026-03-20
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Database Compromise
Action: Immediate Patch
AI Analysis

Impact

An authenticated attacker can inject arbitrary SQL commands through the id_produto GET parameter in the restaurar_produto.php endpoint. The code concatenates the parameter directly into two SQL statements without input validation or parameterization, enabling full data extraction, modification, or deletion across the database. This weakness falls under CWE‑89 and, if exploited, can lead to complete compromise of sensitive institutional data and alteration of critical business records.

Affected Systems

The affected system is the WeGIA web manager for charitable institutions developed by LabRedesCefetRJ. Versions 3.6.5 and earlier contain the vulnerability. The issue was fixed in release 3.6.6. All deployments running 3.6.5 or lower are vulnerable until upgraded.

Risk and Exploitability

The vulnerability scores 9.3 on CVSS, indicating a critical severity. EPSS is below 1 %, suggesting a low probability of widespread exploitation, and it is not listed in the CISA KEV catalog. The attack requires an authenticated session, meaning an attacker must already have valid credentials. The exploitation path involves sending a crafted id_produto value and observing timing responses to confirm the injection, enabling the attacker to extract or modify database contents.

Generated by OpenCVE AI on March 20, 2026 at 20:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WeGIA to version 3.6.6 or later

Generated by OpenCVE AI on March 20, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 20 Mar 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Wegia
Wegia wegia
CPEs cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*
Vendors & Products Wegia
Wegia wegia

Fri, 20 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 20 Mar 2026 16:30:00 +0000

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

Fri, 20 Mar 2026 11:00:00 +0000

Type Values Removed Values Added
Description WeGIA is a web manager for charitable institutions. Versions 3.6.5 and below contain an authenticated SQL Injection vulnerability in the html/matPat/restaurar_produto.php endpoint. The vulnerability allows an authenticated attacker to inject arbitrary SQL commands via the id_produto GET parameter, leading to full database compromise. In the script /html/matPat/restaurar_produto.php, the application retrieves the id_produto parameter directly from the $_GET global array and interpolates it directly into two SQL query strings without any sanitization, type-casting (e.g., (int)), or using parameterized (prepare/execute) statements. This issue has been fixed in version 3.6.6.
Title WeGIA has Authenticated Time-Based Blind SQL Injection in `restaurar_produto.php` via `id_produto` parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

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


Subscriptions

Labredescefetrj Wegia
Wegia Wegia
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-20T18:07:03.967Z

Reserved: 2026-03-17T20:35:49.928Z

Link: CVE-2026-33134

cve-icon Vulnrichment

Updated: 2026-03-20T15:59:06.501Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-20T11:18:03.190

Modified: 2026-03-20T19:26:28.717

Link: CVE-2026-33134

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-25T14:29:31Z

Weaknesses