CVE-2025-58159
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-29

Last updated on: 2025-09-24

Assigner: GitHub, Inc.

Description
WeGIA is a Web manager for charitable institutions. Prior to version 3.4.11, a remote code execution vulnerability was identified, caused by improper validation of uploaded files. The application allows an attacker to upload files with arbitrary filenames, including those with a .php extension. Because the uploaded file is written directly to disk without adequate sanitization or extension restrictions, a spreadsheet file followed by PHP code can be uploaded and executed on the server, leading to arbitrary code execution. This is due to insufficient mitigation of CVE-2025-22133. This issue has been patched in version 3.4.11.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-29
Last Modified
2025-09-24
Generated
2026-05-27
AI Q&A
2025-08-30
EPSS Evaluated
2026-05-25
NVD
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 in WeGIA, a web manager for charitable institutions, allows an attacker to upload files with arbitrary filenames, including .php files, due to improper validation of uploaded files. The uploaded file is saved directly to disk without proper sanitization or restrictions on file extensions. An attacker can upload a file that appears to be a spreadsheet but contains embedded PHP code, which can then be executed on the server, leading to remote code execution.


How can this vulnerability impact me? :

The vulnerability can lead to remote code execution on the server hosting the WeGIA application. This means an attacker could execute arbitrary code, potentially gaining control over the server, accessing sensitive data, modifying or deleting data, disrupting services, or using the server as a foothold for further attacks.


What immediate steps should I take to mitigate this vulnerability?

Upgrade the WeGIA application to version 3.4.11 or later, as this version contains the patch that fixes the remote code execution vulnerability caused by improper validation of uploaded files. Additionally, restrict file uploads to disallow executable extensions such as .php and implement proper sanitization and validation of uploaded filenames and contents.


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