CVE-2025–58454: SQL Injection Vulnerability in WeGIA Web Manage
The id_memorando parameter in a WeGIA endpoint was not properly sanitised, allowing SQL injection. An attacker could extract, modify or delete database records and potentially escalate privileges.
Published on medium.com
WeGIA is a Web Manager for charitable institutions, widely used for organizing and managing administrative workflows. During my security research, I discovered a SQL Injection vulnerability affecting versions 3.4.10 and earlier.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the id_memorando parameter was concatenated into a SQL query without parameterisation or validation.
Impact
Successful exploitation could allow attackers to extract sensitive database information, modify or delete entries, and escalate privileges by chaining SQLi with other flaws.
What the attacker needed
Access to the vulnerable endpoint
The fix
It was fixed in WeGIA 3.4.11, and the report recommends prepared statements and parameterised queries.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
SQL injection is when a program builds a database command using text supplied by a user without cleaning it first. Here the id_memorando value was placed straight into a database query, so a crafted value could change what the database does. That could let someone read or alter records they should not see.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.