Cyber Posture

CVE-2025-22133

CriticalPublic PoCRCE

Published: 07 January 2025

Published
07 January 2025
Modified
09 April 2025
KEV Added
Patch
CVSS Score 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0042 61.9th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-22133 is a critical-severity Code Injection (CWE-94) vulnerability in Wegia Wegia. Its CVSS base score is 9.9 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Web Shell (T1505.003); ranked in the top 38.1% 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-3 (Malicious Code Protection).

Threat & Defense at a Glance

What attackers do: exploitation maps to Web Shell (T1505.003) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly requires validation of file uploads at the application endpoint to block malicious files like .phar with dangerous extensions or content.

preventdetect

Deploys malicious code protection mechanisms at file upload entry points to scan and prevent execution of uploaded dangerous files such as .phar.

prevent

Enforces restrictions on allowed file types and inputs at the upload interface to limit acceptance of executable or dangerous file formats.

MITRE ATT&CK Enterprise TechniquesAI

T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
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?

Arbitrary file upload in public-facing web endpoint allows uploading and executing malicious .phar files (web shells), enabling exploitation of public-facing applications and web shell deployment for remote code execution.

NVD Description

WeGIA is a web manager for charitable institutions. Prior to 3.2.8, a critical vulnerability was identified in the /WeGIA/html/socio/sistema/controller/controla_xlsx.php endpoint. The endpoint accepts file uploads without proper validation, allowing the upload of malicious files, such as .phar, which can then…

more

be executed by the server. This vulnerability is fixed in 3.2.8.

Deeper analysisAI

CVE-2025-22133 is a critical vulnerability in WeGIA, a web manager for charitable institutions, affecting versions prior to 3.2.8. The flaw exists in the /WeGIA/html/socio/sistema/controller/controla_xlsx.php endpoint, which accepts file uploads without proper validation. This allows the upload of malicious files, such as .phar extensions, that can then be executed by the server. It is associated with CWE-94 (improper control of code generation) and CWE-434 (unrestricted upload of files with dangerous type).

The vulnerability carries a CVSS v3.1 base score of 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H), indicating exploitation over the network by low-privileged users with low attack complexity and no user interaction required. Attackers can upload and execute arbitrary malicious files, achieving high-impact remote code execution that compromises confidentiality, integrity, and availability across the affected system's scope.

Mitigation is provided in WeGIA version 3.2.8, which fixes the validation issue. The GitHub security advisory (GHSA-mjgr-2jxv-v8qf) and the patching commit (a08f04de96d3caec85496d7a89a5b82d1960d9dd) detail the resolution and are available at the WeGIA repository. Security practitioners should upgrade immediately to patched versions.

Details

CWE(s)

Affected Products

wegia
wegia
≤ 3.2.8

CVEs Like This One

CVE-2025-58745Same product: Wegia Wegia
CVE-2025-58159Same product: Wegia Wegia
CVE-2025-22132Same product: Wegia Wegia
CVE-2025-27140Same product: Wegia Wegia
CVE-2026-35395Same product: Wegia Wegia
CVE-2025-26609Same product: Wegia Wegia
CVE-2025-26612Same product: Wegia Wegia
CVE-2026-31895Same product: Wegia Wegia
CVE-2024-57034Same product: Wegia Wegia
CVE-2026-28408Same product: Wegia Wegia

References