SB2025030359 - Multiple vulnerabilities in WeGIA
Published: March 3, 2025 Updated: May 2, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) SQL injection (CVE-ID: CVE-2025-23220)
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: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 SQL commands and disclose sensitive information.
The vulnerability exists due to SQL injection in the adicionar_raca.php endpoint when handling a POST request containing the raca parameter. A remote attacker can send a specially crafted request to execute arbitrary SQL commands and disclose sensitive information.
The issue was demonstrated by dumping database contents, including data from the pessoa table.
2) SQL injection (CVE-ID: CVE-2025-23219)
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: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 disclose sensitive information.
The vulnerability exists due to SQL injection in the adicionar_cor.php endpoint when handling the cor parameter in POST requests. A remote attacker can send a specially crafted request to disclose sensitive information.
The issue was demonstrated by dumping database contents, including data from the pessoa table.
3) SQL injection (CVE-ID: CVE-2025-23218)
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: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 disclose sensitive information.
The vulnerability exists due to SQL injection in the adicionar_especie.php endpoint when handling the especie parameter in POST requests. A remote attacker can send a specially crafted request to disclose sensitive information.
The issue was demonstrated by dumping database contents, including data from the pessoa table.
4) Cross-site scripting (CVE-ID: CVE-2025-27499)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to execute arbitrary script in a victim's browser.
The vulnerability exists due to cross-site scripting in the processa_edicao_socio.php endpoint when processing the socio_nome parameter. A remote attacker can submit a specially crafted value to execute arbitrary script in a victim's browser.
User interaction is required when a user accesses the affected page containing the stored payload.
Remediation
Install update from vendor's website.
References
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-425j-h4cf-g52j
- https://github.com/advisories/GHSA-425j-h4cf-g52j
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-h2mg-4c7q-w69v
- https://github.com/advisories/GHSA-h2mg-4c7q-w69v
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-xhv4-88gx-hvgh
- https://github.com/advisories/GHSA-xhv4-88gx-hvgh
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-v248-mr5r-87pf
- https://github.com/advisories/GHSA-v248-mr5r-87pf