CVE-2025-22133CWE-434CWE-94

WeGIA Allows Arbitrary File Upload with Remote Code Execution (RCE)

Critical · published January 7, 2025

CVSS v3.1
10.0
EPSS
1%
Percentile
54.7
In the wild
Unconfirmed
What it is

🚨 A file upload flaw in WeGIA opens the door for malicious .phar files to execute on servers! 🔥 Think of it as a charity bake sale where anyone can drop off suspicious-looking pastries without anyone checking the ingredients. If the kitchen staff doesn’t inspect what’s brought in, they might just serve up a disaster! An attacker could easily upload harmful files that execute code on the server, potentially compromising sensitive data or taking control of the system entirely. This is an absolutely devastating flaw that could wreak havoc on charitable organizations relying on this platform!

Put simply

Think of it as a charity bake sale where anyone can drop off suspicious-looking pastries without anyone checking the ingredients. If the kitchen staff doesn’t inspect what’s brought in, they might just serve up a disaster! This vulnerability allows uploads to the /WeGIA/html/socio/sistema/controller/controla_xlsx.php endpoint without proper validation. As a result, attackers can upload executable files like .phar, which the server blindly runs, leading to remote code execution.

What to do

An attacker could easily upload harmful files that execute code on the server, potentially compromising sensitive data or taking control of the system entirely. This is an absolutely devastating flaw that could wreak havoc on charitable organizations relying on this platform! Update WeGIA to version 3.2.8 immediately to patch this critical vulnerability. Also, implement strict file upload validation to prevent similar issues in the future and keep an eye on file types allowed for upload! You've got this! By taking these steps, you can secure your system and protect your users! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00757 · 54.7th percentile
Weaknesses
CWE-434 · Unrestricted Upload of File with Dangerous Type; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-01-07T22:07Z
EPSS history
Timeline
  • 07 JAN 22:07Z
    WeGIA Allows Arbitrary File Upload with Remote Code Execution (RCE)
    cvelistv5