Paper/Archive/CVE-2025-58159

CVE-2025-58159

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
WeGIA< 3.4.11–CNA

Scores by source

GitHub_M (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refgithub.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-wj2c-237g-cgqp