Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliverySubmit crafted REQUEST parameter with SQL payload
-
ExploitExtract function populates $id_tag variable
-
ExecutionMalicious SQL executes in concatenated query
-
ImpactAttacker reads/modifies database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authenticated user access to WeGIA versions prior to 3.6.7. Attacker must be logged in with permission to access the deletar_tag.php endpoint. Remote exploitation via HTTP POST/GET requests to inject SQL commands through the id_tag parameter. |
| Impact | The CVSS score of 8.8 (High) reflects significant risk with the attack vector being network-based (AV:N), low complexity (AC:L), requiring only low-level privileges (PR:L), and no user interaction (UI:N), resulting in high impact across confidentiality, integrity, and availability (C:H/I:H/A:H). However, the requirement for authenticated access (PR:L) reduces the attack surface compared to unauthenticated vulnerabilities. Real-world risk depends heavily on the deployment context: if WeGIA instances are internet-facing with broad user bases at charitable organizations, the authenticated requirement may not significantly limit exposure since these systems typically have multiple legitimate users. The scope is unchanged (S:U), meaning exploitation is contained to the vulnerable component. No public exploit identified at time of analysis and no CISA KEV listing indicate this is not yet being actively exploited in the wild. For organizations running WeGIA versions prior to 3.6.7, this represents a genuine priority requiring prompt patching, particularly given the straightforward nature of SQL injection exploitation and the potential for automated scanning tools to identify vulnerable instances. The SSVC framework would likely classify this as requiring scheduled remediation given the authenticated requirement but high technical impact. |
| Exploit ScenarioDerived | An authenticated attacker with low-level user credentials to a WeGIA instance crafts a malicious HTTP request to the deletar_tag.php endpoint, injecting SQL payload through the id_tag parameter such as "1 OR 1=1 UNION SELECT username,password,email FROM admin_users--" to extract administrator credentials from the database. Given the low attack complexity and network-accessible attack vector, the attacker could automate this process to systematically enumerate database tables, extract donor information, financial records, or beneficiary data managed by the charitable institution, then potentially modify records to redirect funds or delete audit trails. If the database user has elevated privileges, the attacker might achieve operating system command execution through database-specific functions, escalating from SQL injection to full server compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
SQL injection in WeGIA charitable institution management software allows authenticated remote attackers to execute arbitrary database queries with high impact to confidentiality, integrity, and availability. The vulnerability stems from unsafe use of extract($_REQUEST) combined with unsanitized SQL concatenation in the tag deletion module (deletar_tag.php), affecting all versions prior to 3.6.7. No public exploit identified at time of analysis, with EPSS probability data not available for this recent CVE.
RemediationAI
Vendor-released patch: WeGIA version 3.6.7 fully remediates this vulnerability by implementing proper input sanitization and likely replacing direct SQL concatenation with prepared statements in the deletar_tag.php module. Organizations running WeGIA should immediately upgrade to version 3.6.7 or later by obtaining the patched release from the official GitHub repository at https://github.com/LabRedesCefetRJ/WeGIA. The security advisory at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-74xm-6wgf-x37j provides detailed vulnerability information and upgrade instructions. As a temporary workaround if immediate patching is not feasible, administrators could restrict access to the deletar_tag.php endpoint through web server configuration rules or implement web application firewall rules to filter suspicious input patterns targeting the id_tag parameter, though these measures should be considered temporary mitigations only while planning for the definitive upgrade to 3.6.7.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WeGIA is a PHP-based web management platform for charitable institutions maintained by LabRedesCefetRJ. The vulnerability exists in html/socio/sistema/deletar_tag.php where the code uses extract($_REQUEST) on line 14, which unpacks all GET/POST parameters into local variables. The extracted $id_tag variable is then directly concatenated into SQL queries on lines 16-17 without parameterized statements or input validation, creating a classic SQL injection vector (CWE-89). The extract() function is particularly dangerous in PHP as it allows attackers to overwrite existing variables or inject new ones by controlling HTTP request parameters. This anti-pattern combined with dynamic SQL construction enables attackers to manipulate query logic, bypass authentication checks, extract sensitive data, modify records, or potentially execute database-level commands depending on the database user's privileges.
Know when Wegia gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
WeGIA is a web manager for charitable institutions. Prior to version 3.6.7, the file html/socio/sistema/deletar_tag.php uses extract($_REQUEST) on line 14 and directly concatenates the $id_tag variable into SQL queries on lines 16-17 without prepared statements or sanitization. Version 3.6.7 patches the vulnerability.
Executive ViewAI
WeGIA charitable management software versions prior to 3.6.7 contain a SQL injection vulnerability in the tag deletion module that allows authenticated users to execute arbitrary database queries, compromising the confidentiality, integrity, and availability of donor records, fund allocations, and beneficiary data. Organizations running WeGIA should prioritize immediate patching to prevent insider threats and potential data breaches affecting donor trust and regulatory compliance.
Apply vendor patch. Interim mitigations if patching is delayed: (1) Restrict access to tag deletion functionality to senior administrators only; (2) Implement database-level query logging and alerts for DELETE/UPDATE operations; (3) Enable Web Application Firewall rules to block SQL keywords in HTTP requests to deletar_tag.php; (4) Require multi-factor authentication for any user account with tag deletion permissions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
EUVD-2026-16884
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB