Vulnerability details

CVE-2025-58159

LabRedesCefetRJ WeGIA

WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)

CVSS 3.1
10.0Critical

Official 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

ScoreVersionSourceVector
10.0Critical 3.1 CVEProject cvelistV5 (CNA) (GitHub_M) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
LabRedesCefetRJ WeGIA < 3.4.11 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-08-30
Last updated
2025-09-02
State
Published
Assigner (CNA)
GitHub_M

Exploit prediction (EPSS)

0.75%
Probability of exploitation in 30 days
55.2%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
Proof of concept
Technical impact
Total

Weaknesses (CWE)

  • CWE-434
    Unrestricted Upload of File with Dangerous Type
  • CWE-94
    Improper Control of Generation of Code ('Code Injection')