{"id":"CVE-2026-33134","published":"2026-03-20T10:35:43Z","modified":"2026-03-20T18:07:03Z","title":"WeGIA has Authenticated Time-Based Blind SQL Injection in `restaurar_produto.php` via `id_produto` parameter","vendor":"LabRedesCefetRJ","product":"WeGIA","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00346,"percentile":0.28906,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-qg95-x997-66wq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/pull/1457","tags":["x_refsource_MISC"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.6","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":5.78},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"labredescefetrj","affectedVersions":[{"vendor":"LabRedesCefetRJ","product":"WeGIA","versions":["< 3.6.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-20T15:58:51.204904Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-13678","exploited":false,"provenance":"source"}}