Cyber Posture

CVE-2025-23220

CriticalPublic PoC

Published: 20 January 2025

Published
20 January 2025
Modified
28 February 2025
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0048 65.3th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

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

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 34.7% 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).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190). What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly mitigates the SQL injection in adicionar_raca.php by requiring validation of user inputs to prevent arbitrary SQL command execution.

prevent

Ensures timely remediation of the identified SQL injection flaw through patching to WeGIA version 3.2.10.

prevent

Restricts harmful input patterns and characters to the adicionar_raca.php endpoint, reducing the risk of successful SQL injection.

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?

SQL injection in a network-accessible web application endpoint (adicionar_raca.php) with no authentication required directly enables remote exploitation of a public-facing application to execute arbitrary SQL queries and access sensitive data.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. A SQL Injection vulnerability was identified in the WeGIA application, specifically in the adicionar_raca.php endpoint. This vulnerability allows attackers to execute arbitrary SQL…

more

commands in the database, allowing unauthorized access to sensitive information. During the exploit, it was possible to perform a complete dump of the application's database, highlighting the severity of the flaw. This vulnerability is fixed in 3.2.10.

Deeper analysisAI

CVE-2025-23220 is a SQL injection vulnerability (CWE-89) affecting the WeGIA open-source web manager, an application designed with a focus on the Portuguese language for charitable institutions. The flaw is located in the adicionar_raca.php endpoint, where insufficient input validation allows attackers to inject and execute arbitrary SQL commands directly against the application's database.

The vulnerability carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating critical severity with network accessibility, low attack complexity, and no requirements for privileges or user interaction. Unauthenticated remote attackers can exploit it to execute arbitrary SQL queries, enabling unauthorized access to sensitive information, including a complete dump of the application's database.

Mitigation is available in WeGIA version 3.2.10, which addresses the issue through a patch detailed in the project's GitHub commit 1739e1589948a207b8a82b9bfe078cb826d420de. Additional guidance on the fix and remediation steps is provided in the GitHub security advisory GHSA-425j-h4cf-g52j.

Details

CWE(s)

Affected Products

wegia
wegia
≤ 3.2.10

CVEs Like This One

CVE-2025-26612Same product: Wegia Wegia
CVE-2024-57034Same product: Wegia Wegia
CVE-2025-26605Same product: Wegia Wegia
CVE-2025-22140Same product: Wegia Wegia
CVE-2025-24958Same product: Wegia Wegia
CVE-2025-53823Same product: Wegia Wegia
CVE-2026-35395Same product: Wegia Wegia
CVE-2026-33134Same product: Wegia Wegia
CVE-2025-24906Same product: Wegia Wegia
CVE-2026-31895Same product: Wegia Wegia

References