CVE-2025-24901 in WeGIAinfo

Summary

by MITRE • 02/04/2025

WeGIA is a Web Manager for Charitable Institutions. A SQL Injection vulnerability was discovered in the WeGIA application, `deletar_permissao.php` endpoint. This vulnerability could allow an authorized attacker to execute arbitrary SQL queries, allowing access to or deletion of sensitive information. This issue has been addressed in version 3.2.12 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 02/04/2025

The WeGIA web management system for charitable institutions presents a critical SQL injection vulnerability in its deletar_permissao.php endpoint that poses significant security risks to organizations relying on this platform. This vulnerability exists within the application's input validation mechanisms where user-supplied data is directly incorporated into SQL query constructions without proper sanitization or parameterization. The flaw enables authenticated attackers to manipulate database queries through carefully crafted input parameters, potentially compromising the integrity and confidentiality of sensitive institutional data. The vulnerability affects the application's permission management functionality, which is critical for maintaining proper access controls within charitable organizations that handle donor information, financial records, and beneficiary data.

The technical implementation of this vulnerability stems from improper handling of user input within the deletar_permissao.php script, which likely processes permission deletion requests without adequate input validation or prepared statement usage. This represents a classic CWE-89 SQL injection weakness where the application fails to properly escape or parameterize user-controllable data before incorporating it into database queries. The vulnerability allows attackers to execute arbitrary SQL commands, potentially enabling data retrieval, modification, or deletion operations that could compromise the entire database infrastructure. Attackers could leverage this weakness to escalate privileges, access unauthorized data, or even potentially gain shell access to the underlying database server depending on the application's configuration and the database management system in use.

The operational impact of this vulnerability extends beyond simple data compromise, as it directly threatens the integrity of charitable institution operations and the trust placed in these organizations by donors and beneficiaries. Unauthorized access to sensitive information could result in financial fraud, identity theft, or exposure of confidential donor records, potentially leading to regulatory violations and loss of institutional credibility. The vulnerability's exploitation could also facilitate further attacks within the network infrastructure, as database credentials and access patterns might be exposed. Organizations using WeGIA version prior to 3.2.12 face significant risk of data breaches, compliance violations, and potential legal consequences, particularly in jurisdictions with strict data protection regulations such as GDPR or HIPAA. The lack of known workarounds forces organizations to immediately implement the vendor-provided patch or upgrade to version 3.2.12 to mitigate the threat.

Mitigation strategies should prioritize immediate deployment of the vendor-provided security patch to version 3.2.12, which addresses the SQL injection vulnerability through proper input validation and parameterized query implementation. Organizations should conduct comprehensive security assessments of their WeGIA installations to identify any potential exploitation attempts or unauthorized access patterns. Network monitoring should be enhanced to detect suspicious database query patterns that might indicate exploitation attempts. Security teams should also implement database activity monitoring, access logging, and regular vulnerability scanning to prevent future incidents. The remediation process should include reviewing and strengthening input validation mechanisms throughout the application, implementing proper parameterized queries, and conducting security code reviews to prevent similar vulnerabilities in other application components. This vulnerability aligns with ATT&CK technique T1071.004 for application layer protocol, and represents a critical weakness that requires immediate attention to prevent potential data breaches and maintain organizational security posture.

Responsible

GitHub M

Reservation

01/27/2025

Disclosure

02/04/2025

Moderation

accepted

CPE

ready

EPSS

0.00515

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!