CVE-2025-58159
BaseFortify
Publication date: 2025-08-29
Last updated on: 2025-09-24
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wegia | wegia | to 3.4.11 (exc) |
Helpful Resources
Exploitability
| 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.