SB20250327162 - Multiple vulnerabilities in WeGIA
Published: March 27, 2025 Updated: April 30, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) SQL injection (CVE-ID: CVE-2025-30367)
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 disclose sensitive information, modify database records, or cause a denial of service.
The vulnerability exists due to SQL injection in the nextPage parameter of the /WeGIA/controle/control.php endpoint when handling requests. A remote user can send a specially crafted request to disclose sensitive information, modify database records, or cause a denial of service.
2) Cross-site scripting (CVE-ID: CVE-2025-30363)
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 code in the victim's browser.
The vulnerability exists due to cross-site scripting in the dados_addInfo parameter of html/geral/documentos_funcionario.php when processing user-supplied input. A remote attacker can submit a specially crafted payload to execute arbitrary script code in the victim's browser.
User interaction is required when a user accesses the affected page, including funcionario/profile_funcionario.php.
3) Improper Authentication (CVE-ID: CVE-2025-30361)
CWE-ID: CWE-287 - Improper Authentication
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote user to reset the password of arbitrary users, including administrator accounts.
The vulnerability exists due to improper authentication in the control.php endpoint when handling password change requests. A remote user can send a specially crafted POST request with an arbitrary old password value to reset the password of arbitrary users, including administrator accounts.
The issue affects the POST /WeGIA/controle/control.php endpoint through the FuncionarioControle alterarSenha method and relies on the id_pessoa parameter to select the target account.
Remediation
Install update from vendor's website.
References
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-7j9v-xgmm-h7wr
- https://github.com/advisories/GHSA-7j9v-xgmm-h7wr
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-qhfm-2qfp-h4m3
- https://github.com/advisories/GHSA-qhfm-2qfp-h4m3
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-m6qw-r3m9-jf7h
- https://github.com/advisories/GHSA-m6qw-r3m9-jf7h