WeGIA: SQL Injection in html/socio/sistema/cadastro_cobranca.php
What fixes it
- 3.8.6WeGIAGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 2
- WeGIAaffected: < 3.8.6CVE List
- WeGIA<=3.8.5GitHub
References 5
- github.com/LabRedesCefetRJ/WeGIA/commit/f819be361f984592c4b5a35db830495b4e2263faFixvia CVE List
- github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6Fixvia CVE List
- github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-vjxh-wcf9-4qgqExploitvia CVE List
- github.com/LabRedesCefetRJ/WeGIA/issues/184Referencevia CVE List
- github.com/LabRedesCefetRJ/WeGIA/pull/1705Referencevia CVE List