Description (CNA)
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, the pre-installation web/instalador/instalador.php endpoint is reachable before config.php exists and processes unauthenticated installation POST data. In the Linux reinstall flow, a crafted usuario value reaches a command executed by shell_exec(). The installer also writes attacker-controlled values into executable config.php and concatenates the database name nomebd into a CREATE DATABASE statement. Successful exploitation can execute commands as the web-server user, persist attacker-controlled PHP configuration, and alter or disrupt the application and its data. This issue is fixed in version 3.8.6.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| LabRedesCefetRJ / WeGIA | affected < 3.8.6 |
CWE
CWE-78, CWE-89, CWE-94
References
- https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-wm6j-4rfm-399q
- https://github.com/LabRedesCefetRJ/WeGIA/issues/96
- https://github.com/LabRedesCefetRJ/WeGIA/pull/1705
- https://github.com/LabRedesCefetRJ/WeGIA/commit/b13c4b0b416d99a8145f583e0893bc8172155469
- https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6
ADP enrichment
No English description supplied.