SB2025022301 - Multiple vulnerabilities in WeGIA
Published: February 23, 2025 Updated: May 2, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) SQL injection (CVE-ID: CVE-2025-27133)
CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote user to execute arbitrary SQL queries and disclose sensitive information.
The vulnerability exists due to SQL injection in the dao/pet/adicionar_tipo_exame.php endpoint when handling the tipo_exame POST parameter. A remote user can send a specially crafted POST request to execute arbitrary SQL queries and disclose sensitive information.
2) OS Command Injection (CVE-ID: CVE-2025-27140)
CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper neutralization of special elements used in an os command in the importar_dump.php endpoint when handling the import file upload parameter. A remote attacker can supply a crafted filename in the import parameter to execute arbitrary code.
The issue affects POST /html/configuracao/importar_dump.php, and the session check can be bypassed because execution continues after the redirect logic.
Remediation
Install update from vendor's website.