LabRedesCefetRJ WeGIA
WeGIA: Unauthenticated SQL Injection in cadastro_cobranca.php via "codigo" parameter
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, unauthenticated POST requests to web/html/socio/sistema/cadastro_cobranca.php can place a quoted SQL expression in the codigo parameter, which extract($_REQUEST) passes into the WHERE codigo= clause of an UPDATE statement without validation or parameter binding. Quoting the value bypasses MariaDB type conversion for the VARCHAR column and permits arbitrary SQL execution without a session. An attacker can read or modify database content, including user credential hashes and billing records in the cobrancas table. 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.