LabRedesCefetRJ WeGIA
WeGIA: SQL Injection in html/matPat/restaurar_produto_desocultar.php via id_produto parameter
WeGIA is a web manager for charitable institutions. Prior to 3.8.6, an authenticated user with access to the Material & Patrimônio module can submit id_produto to web/html/matPat/restaurar_produto_desocultar.php, where a second extract($_REQUEST) overwrites the value previously sanitized by intval(). The raw value is interpolated into UPDATE statements for the produto, isaida, and ientrada tables. An attacker can execute arbitrary SQL to extract sensitive database records or modify institutional and inventory 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/8fa3df…
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.