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-05-07
AI Q&A
2025-09-09
EPSS Evaluated
2026-05-05
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-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
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.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

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.


How can this vulnerability impact me? :

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.


What immediate steps should I take to mitigate this vulnerability?

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`.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart