Description
WeGIA is a web manager for charitable institutions. In versions 3.6.5 and 3.6.6, the loadBackupDB() function imports SQL files from uploaded backup archives without any content validation. An attacker can craft a backup archive containing arbitrary SQL statements that create rogue administrator accounts, modify existing passwords, or execute any database operation. This was introduced in commit 370104c. This issue was patched in version 3.6.7.
Problem types
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
References
github.com/.../WeGIA/security/advisories/GHSA-qqff-p8fc-hg5f
github.com/LabRedesCefetRJ/WeGIA/pull/1459
github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.6.7