Cyber Resilience

CVE-2025-24902

CriticalPublic PoC

Published: 03 February 2025

Published
03 February 2025
Modified
22 August 2025
KEV Added
Patch
CVSS Score v4 9.4 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0044 63.6th percentile
Risk Priority 19 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-24902 is a critical-severity SQL Injection (CWE-89) vulnerability in Wegia Wegia. Its CVSS base score is 9.4 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 36.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2025-24902 is a SQL injection vulnerability (CWE-89) affecting the WeGIA application, an open-source web manager for charitable institutions. The issue resides in the `salvar_cargo.php` endpoint, where insufficient input validation allows arbitrary SQL query execution. It impacts versions of WeGIA prior to 3.2.12 and carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating high confidentiality, integrity, and availability impacts.

An authorized attacker with low privileges (PR:L) can exploit this vulnerability remotely over the network (AV:N) with low attack complexity (AC:L) and without requiring user interaction (UI:N). Exploitation enables execution of arbitrary SQL queries, potentially allowing the attacker to access or delete sensitive information stored in the application's database.

The vulnerability has been fixed in WeGIA version 3.2.12, and all users are advised to upgrade promptly, as no workarounds are available. Additional details are provided in the GitHub security advisory at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-pg73-w9vx-8mgp and the patching commit at https://github.com/LabRedesCefetRJ/WeGIA/commit/f535e873a8f26fe413d21f22e3eacc8c79b2fa7f.

EU & UK References

Vulnerability details

WeGIA is a Web Manager for Charitable Institutions. A SQL Injection vulnerability was discovered in the WeGIA application, `salvar_cargo.php` endpoint. This vulnerability could allow an authorized attacker to execute arbitrary SQL queries, allowing access to or deletion of sensitive information.…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

The SQL injection vulnerability in the publicly accessible WeGIA web application directly enables remote exploitation of a public-facing application to execute arbitrary queries and impact the database.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-26612Same product: Wegia Wegia
CVE-2026-35395Same product: Wegia Wegia
CVE-2025-24906Same product: Wegia Wegia
CVE-2025-27133Same product: Wegia Wegia
CVE-2025-22141Same product: Wegia Wegia
CVE-2026-33134Same product: Wegia Wegia
CVE-2025-23219Same product: Wegia Wegia
CVE-2025-24958Same product: Wegia Wegia
CVE-2026-31895Same product: Wegia Wegia
CVE-2024-57034Same product: Wegia Wegia

Affected Assets

wegia
wegia
≤ 3.2.12

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validating inputs to the salvar_cargo.php endpoint to block arbitrary SQL query execution.

prevent

Mandates timely flaw remediation by upgrading to WeGIA 3.2.12, eliminating the SQL injection vulnerability.

detect

Vulnerability scanning identifies SQL injection flaws like this one in salvar_cargo.php for subsequent remediation.

References