CVE-2025-58745: WeGIA has a bypass for the fix for CVE-2025-22133 - Arbitrary File Upload leads to Remote Code Execution (RCE)

Published Sep 8, 2025
·
Updated

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/controlaxlsx.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.

Affected Software

2 affected components
WeGIA WeGIA
WeGIA WeGIA<3.4.11

Event History

Sep 8, 2025
CVE Published
via MITRE·10:40 PM
Data Sourced
via MITRE·10:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-58745?

CVE-2025-58745 has been classified as a high severity vulnerability due to its exploitation potential for arbitrary file uploads.

2

How do I fix CVE-2025-58745?

To fix CVE-2025-58745, ensure that robust file validation and restrictions are implemented beyond just MIME type checking.

3

What types of files can be uploaded due to CVE-2025-58745?

CVE-2025-58745 allows for arbitrary files to be uploaded, potentially including malicious scripts disguised as Excel files.

4

Which version of WeGIA is affected by CVE-2025-58745?

CVE-2025-58745 affects all versions of WeGIA that do not implement proper file upload restrictions.

5

How can I mitigate the risk posed by CVE-2025-58745?

To mitigate CVE-2025-58745, consider implementing stricter file type validation, application whitelisting, and regular security audits.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203