Skip to main content

Wegia CVE-2025-52474

| EUVDEUVD-2025-18678 CRITICAL
SQL Injection (CWE-89)
2025-06-19 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

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.

Impact

This vulnerability presents CRITICAL real-world risk despite lacking live KEV/EPSS/POC confirmation in provided data. Risk factors: (1) CVSS 9.8 with AV:N (network-accessible), AC:L (no complexity), PR:N (no authentication), UI:N (no user interaction), S:U/C:H/I:H/A:H (complete system compromise). (2) SQL Injection is a well-understood, easily exploitable vulnerability class with trivial attack complexity. (3) The endpoint is likely unauthenticated and directly accessible, fitting typical charitable institution web deployments. (4) WeGIA manages sensitive donor/beneficiary/financial data for non-profits, making data theft/manipulation high-impact. Recommendation: Treat as CRITICAL priority for immediate patching. The only mitigating factor is the apparent limited public awareness (small vendor footprint), but this should not lower urgency—exploitation tools and techniques are mature.

Exploit ScenarioDerived

An attacker discovers a WeGIA instance via public SHODAN/Censys scan for the /WeGIA/controle/control.php path. They craft a request: GET /WeGIA/controle/control.php?id=1' UNION SELECT table_name FROM information_schema.tables WHERE table_schema=database()-- to enumerate database tables. The server processes the unsanitized parameter, returning table names (e.g., donors, transactions, beneficiaries). The attacker refines the injection to extract sensitive data: id=1' UNION SELECT CONCAT(name,'|',email,'|',phone) FROM donors-- yielding donor records. In a second phase, they insert malicious records or modify financial data: id=1'; UPDATE transactions SET amount=0 WHERE donor_id=X;-- potentially causing fraud or data corruption. No special tools beyond a browser or curl are required; this attack is trivial to execute and difficult to detect without SQL logging/WAF.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

Critical SQL Injection vulnerability in WeGIA (a web-based management system for charitable institutions) affecting the 'id' parameter of the /WeGIA/controle/control.php endpoint in versions prior to 3.4.2. This unauthenticated, network-accessible vulnerability enables attackers to execute arbitrary SQL queries without privileges or user interaction, resulting in complete compromise of database confidentiality, integrity, and availability. The CVSS 9.8 score reflects the severe impact potential; however, KEV status, EPSS probability, and public POC availability could not be confirmed from provided data and should be verified through CISA and exploit databases.

RemediationAI

IMMEDIATE: (1) Upgrade WeGIA to version 3.4.2 or later. Verify patch application by checking version strings and deployment artifacts. (2) If immediate patching is not feasible, implement compensating controls: (a) Web Application Firewall (WAF) rules to block SQL injection payloads in the 'id' parameter (e.g., regex rules for UNION, SELECT, comment syntax). (b) Network-level access restrictions: limit access to /WeGIA/controle/control.php to trusted IP ranges or require VPN. (c) Database-level hardening: use database accounts with minimal privileges; implement row-level security. (3) Post-patch: validate remediation by testing the id parameter with known SQL injection payloads (e.g., 'id=1 OR 1=1--'); responses should not reveal database errors or unexpected data. (4) Review WeGIA security advisories at vendor support portal for any additional patches or related issues.

Affected VersionsENISA

WeGIA < 3.4.2

Affected Packages

euvd wegia fix: 3.4.2

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 application framework for non-profit/charitable institution management. The vulnerability exists in the control.php endpoint's insufficient input validation on the 'id' parameter, allowing unsanitized user input to be concatenated into SQL query strings. This is a classic SQL Injection flaw (CWE-89: Improper Neutralization of Special Elements used in an SQL Command), where an attacker can inject SQL metacharacters (e.g., single quotes, UNION statements, comments) to alter query logic. The root cause is the absence of parameterized queries or prepared statements, combined with lack of input sanitization. Affected systems typically run PHP with MySQL/MariaDB backends. The /controle/control.php endpoint likely handles data retrieval/manipulation for administrative functions, making it a high-value attack surface.

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

GitHub Advisory PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 15, 2026 - 00:08 nvd
Patch available
PoC Detected
Jul 02, 2025 - 16:18 vuln.today
Public exploit code
CVE Published
Jun 19, 2025 - 04:15 nvd
CRITICAL 9.8

DescriptionGitHub Advisory

WeGIA is a web manager for charitable institutions. Prior to version 3.4.2, a SQL Injection vulnerability was identified in the id parameter of the /WeGIA/controle/control.php endpoint. This vulnerability allows attacker to manipulate SQL queries and access sensitive database information, such as table names and sensitive data. This issue has been patched in version 3.4.2.

Executive ViewAI

Why It Matters

A critical SQL injection vulnerability in WeGIA (version <3.4.2) allows attackers to extract sensitive donor, beneficiary, and operational data from charitable institutions' databases. Organizations running unpatched WeGIA instances face immediate risk of data breach and potential regulatory compliance violations (GDPR, state privacy laws).

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not possible: deploy Web Application Firewall (WAF) rules to block SQL injection patterns in the 'id' parameter of /WeGIA/controle/control.php; restrict database user permissions to least-privilege access; implement IP whitelisting to limit access to the WeGIA application; disable the vulnerable endpoint if operationally feasible until patching is complete.

Threat Intelligence Overview

EPSS Score
0.1%
Top 78% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in WeGIA Injection Vulnerabilities

View all 2

More in Wegia

View all
CVE-2025-27140 CRITICAL POC
10.0 Feb 24

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26613 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-55169 CRITICAL POC
10.0 Aug 12

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical

CVE-2025-30364 CRITICAL POC
10.0 Mar 27

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-46828 CRITICAL POC
10.0 May 07

WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26612 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26617 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26611 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26609 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26608 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26607 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy