{"id":"CVE-2025-58745","aliases":["CVE-2025-58745"],"related":[],"kind":"vulnerability","state":"published","title":"WeGIA has a bypass for the fix for CVE-2025-22133 - Arbitrary File Upload leads to Remote Code Execution (RCE)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"WeGIA es un gestor web para instituciones benéficas. La solución para CVE-2025-22133 no fue suficiente para remediar la vulnerabilidad de carga arbitraria de archivos. El WeGIA solo verifica los tipos MIME para archivos Excel en el endpoint '/html/socio/sistema/controller/controla_xlsx.php', lo cual puede ser eludido usando bytes mágicos de un archivo Excel en un archivo PHP. Como resultado, el atacante puede subir una webshell al servidor para ejecución remota de código. La versión 3.4.11 contiene una solución actualizada.","source":"nvd"}],"published":"2025-09-08T22:40:56.389Z","modified":"2026-10-18T21:10:00.120Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94","CWE-434"],"affected":[{"ranges":[{"version":"< 3.4.11","status":"affected"}],"vendor":"LabRedesCefetRJ","product":"WeGIA","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.4.11"}],"vendor":"wegia","product":"wegia","cpe":"cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-hq96-gvmx-qrwp","tags":["exploit","third-party-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-09-09T13:14:35.292Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58745","url":"https://www.cve.org/CVERecord?id=CVE-2025-58745","licence":"CVE Terms of Use","modified":"2025-09-09T13:29:48.697Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58745","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58745","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:04.351Z","epss":{"score":0.00874,"percentile":0.60048,"date":"2026-12-02T12:00:21.000Z"}}