{"id":"CVE-2026-33134","aliases":["CVE-2026-33134"],"related":[],"kind":"vulnerability","state":"published","title":"WeGIA has Authenticated Time-Based Blind SQL Injection in `restaurar_produto.php` via `id_produto` parameter","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"WeGIA es un gestor web para instituciones benéficas. Las versiones 3.6.5 e inferiores contienen una vulnerabilidad de inyección SQL autenticada en el endpoint html/matPat/restaurar_produto.php. La vulnerabilidad permite a un atacante autenticado inyectar comandos SQL arbitrarios a través del parámetro GET id_produto, lo que lleva a un compromiso total de la base de datos. En el script /html/matPat/restaurar_produto.php, la aplicación recupera el parámetro id_produto directamente del array global $_GET y lo intercala directamente en dos cadenas de consulta SQL sin ninguna sanitización, conversión de tipo (p. ej., (int)), o el uso de sentencias parametrizadas (prepare/execute). Este problema ha sido solucionado en la versión 3.6.6.","source":"nvd"}],"published":"2026-03-20T10:35:43.400Z","modified":"2026-06-17T10:37:00.333Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","score":9.3,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 3.6.6","status":"affected"}],"vendor":"LabRedesCefetRJ","product":"WeGIA","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.6.6"}],"vendor":"wegia","product":"wegia","cpe":"cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-qg95-x997-66wq","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/pull/1457","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.6","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-20T15:58:51.204Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33134","url":"https://www.cve.org/CVERecord?id=CVE-2026-33134","licence":"CVE Terms of Use","modified":"2026-03-20T18:07:03.967Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33134","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33134","licence":"Public domain","modified":"2026-06-17T10:37:00.333Z"}],"updatedAt":"2026-11-25T22:59:16.316Z","epss":{"score":0.00546,"percentile":0.39407,"date":"2026-11-30T12:00:22.000Z"}}