CRITICAL🇵🇱 Wersja polska

CVE-2026-33134

CVSS 9.3v3.1pub. 2026-03-20

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.

🤖 AI Analysis
How it works

The script /html/matPat/restaurar_produto.php retrieves the id_produto parameter directly from the $_GET array and inserts its value without any validation or sanitization into two SQL queries. The application does not apply type casting (e.g., to int) or use prepared statements (prepare/execute), allowing an attacker to embed arbitrary SQL instructions in the GET parameter. The exploit requires prior authentication in the application.

Impact

An attacker can gain full access to the database — read, modify, or delete its contents. Due to the scope (S:C in the CVSS vector), the impact may extend beyond the direct application context.

Mitigation & patch

WeGIA should be updated to version 3.6.6, where the issue has been fixed. The patch is available in the vendor's repository: https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.6

Who is affected

WeGIA in versions 3.6.5 and lower

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
  • Wegia

    APP
    Wegia
    < 3.6.6
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
SQLi
CWE
References

Related vulnerabilities

CVE-2026-33136CRITICAL9.3PL ✓same product

Reflected XSS w WeGIA — wstrzyknięcie kodu przez parametr sccd

CVE-2026-33135CRITICAL9.3PL ✓same product

Reflected XSS w WeGIA — wstrzyknięcie kodu JS przez parametr GET

CVE-2026-31896CRITICAL9.8PL ✓same product

SQL Injection w WeGIA – nieautoryzowane wykonanie poleceń SQL

CVE-2026-28408CRITICAL9.8PL ✓same product

WeGIA – pominięcie uwierzytelnienia w adicionar_tipo_docs_atendido.php

CVE-2026-28409CRITICAL10.0PL ✓same product

WeGIA – RCE przez command injection w funkcji przywracania bazy danych