Improper Authentication in WeGIA - CVE-2025-30361
Published: March 27, 2025 / Updated: April 30, 2026
WeGIA
Detailed vulnerability description
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.