Home

Description

WeGIA is a Web manager for charitable institutions. The fix for CVE-2025-22133 was not enough to remediate the arbitrary file upload vulnerability. The WeGIA only check MIME types for Excel files at endpoint `/html/socio/sistema/controller/controla_xlsx.php`, which can be bypassed by using magic bytes of Excel file in a PHP file. As a result, attacker can upload webshell to the server for remote code execution. Version 3.4.11 contains an updated fix.

PUBLISHED Reserved 2025-09-04 | Published 2025-09-08 | Updated 2025-09-09 | Assigner GitHub_M




CRITICAL: 10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

CWE-434: Unrestricted Upload of File with Dangerous Type

Product status

< 3.4.11
affected

References

github.com/.../WeGIA/security/advisories/GHSA-hq96-gvmx-qrwp

cve.org (CVE-2025-58745)

nvd.nist.gov (CVE-2025-58745)

Download JSON