CVE-2025-58745
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-08

Last updated on: 2025-09-17

Assigner: GitHub, Inc.

Description
WeGIA is a Web manager for charitable institutions. The fix for CVE-2025-22133 was not enough to remediate the arbitrary file upload vulnerability. The WeGIA only check MIME types for Excel files at endpoint `/html/socio/sistema/controller/controla_xlsx.php`, which can be bypassed by using magic bytes of Excel file in a PHP file. As a result, attacker can upload webshell to the server for remote code execution. Version 3.4.11 contains an updated fix.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-08
Last Modified
2025-09-17
Generated
2026-06-16
AI Q&A
2025-09-09
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wegia wegia to 3.4.11 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is an arbitrary file upload issue in WeGIA, a web manager for charitable institutions. The system only checks MIME types for Excel files at a specific endpoint, but this check can be bypassed by embedding Excel file magic bytes inside a PHP file. This allows an attacker to upload a malicious webshell to the server, enabling remote code execution.

Impact Analysis

An attacker exploiting this vulnerability can upload a webshell to the server, which allows them to execute arbitrary code remotely. This can lead to full compromise of the server, including data theft, data manipulation, service disruption, or further attacks within the network.

Mitigation Strategies

Upgrade WeGIA to version 3.4.11 or later, which contains the updated fix for this arbitrary file upload vulnerability. Additionally, review and restrict file upload mechanisms to ensure proper validation beyond MIME type checks, especially at the endpoint `/html/socio/sistema/controller/controla_xlsx.php`.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-58745. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart