LabRedesCefetRJ WeGIA
WeGIA: SQL Injection in html/socio/sistema/cadastro_cobrancas_geracao.php
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.
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/38cb19…
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.