LabRedesCefetRJ WeGIA
WeGIA: SQL Injection in html/socio/sistema/cadastro_cobranca.php
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, the unauthenticated web/html/socio/sistema/cadastro_cobranca.php endpoint accepts POST input through extract($_REQUEST) and directly incorporates valor, valor_pago, id_pessoa, id_socio, and id_sociotipo into UPDATE, INSERT, and SELECT statements without prepared statements. A remote attacker can use the affected parameters to execute arbitrary SQL that reads or modifies WeGIA database content, including billing records and credential data. The same SQL access can delete or truncate tables, causing loss of application data. This issue is fixed in version 3.8.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.8.6
Fixed in 3.8.6
Mitigation
Upgrade WeGIA to 3.8.6 or later.
References
- Vendor advisory github.com/LabRedesCefetRJ/WeGIA/security/advi…
- Patch github.com/LabRedesCefetRJ/WeGIA/pull/1705
- Patch github.com/LabRedesCefetRJ/WeGIA/commit/f819be…
1 more
- Release notes github.com/LabRedesCefetRJ/WeGIA/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.