10.0critical
WeGIA Authenticated Arbitrary File Upload Leading To Remote Code Execution (RCE)
- Severity
- 10.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.36% (higher than 72% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| LabRedesCefetRJ WeGIA | < 3.4.11 | CVE List |
| wegia wegia | before 3.4.11 | NVD |
All scores
| GitHub_M | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
WeGIA es un gestor web para instituciones benéficas. Antes de la versión 3.4.11, fue identificada una vulnerabilidad de ejecución remota de código, causada por una validación inadecuada de los archivos subidos. La aplicación permite a un atacante subir archivos con nombres de archivo arbitrarios, incluyendo aquellos con una extensión .php. Debido a que el archivo subido se escribe directamente en el disco sin una sanitización o restricciones de extensión adecuadas, un archivo de hoja de cálculo seguido de código PHP puede ser subido y ejecutado en el servidor, lo que lleva a la ejecución de código arbitrario. Esto se debe a una mitigación insuficiente de CVE-2025-22133. Este problema ha sido parcheado en la versión 3.4.11.
References
| https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-wj2c-237g-cgqp | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58159 changed 2025-09-02 | CVE Terms of Use |
| NVD | CVE-2025-58159 changed 2026-10-18 | Public domain |