WeGIA: SQL Injection in html/socio/sistema/cadastro_cobrancas_geracao.php
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, the unauthenticated web/html/socio/sistema/cadastro_cobrancas_geracao.php endpoint accepts form-encoded POST data through extract($_REQUEST) and interpolates codigo, descricao, data_emissao, data_vencimento, data_pagamento, valor, valor_pago, status, link_cobranca, link_boleto, linha_digitavel, and id_socio into a raw INSERT statement. Numeric parameters are unquoted and unvalidated, while string parameters can break out of their single-quoted SQL context. A remote attacker can execute arbitrary SQL to read or modify billing, member, employee, permission, and credential data or to delete database tables. This issue is fixed in version 3.8.6.
Text from CVE List
Affected versions 1
- WeGIAaffected: < 3.8.6CVE List
References 5
- github.com/LabRedesCefetRJ/WeGIA/commit/38cb19baeee90b334817fb9b40f967996c9ee36bFixvia CVE List
- github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.6Fixvia CVE List
- github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-g2hm-m6gw-fcggAdvisoryvia CVE List
- github.com/LabRedesCefetRJ/WeGIA/issues/183Referencevia CVE List
- github.com/LabRedesCefetRJ/WeGIA/pull/1705Referencevia CVE List