{"id":"CVE-2025-22133","published":"2025-01-07T22:07:13Z","modified":"2025-01-08T14:52:28Z","title":"WeGIA Allows Arbitrary File Upload with Remote Code Execution (RCE)","vendor":"nilsonLazarin","product":"WeGIA","tier":"tail","description":{"text":"WeGIA is a web manager for charitable institutions. Prior to 3.2.8, a critical vulnerability was identified in the /WeGIA/html/socio/sistema/controller/controla_xlsx.php endpoint. The endpoint accepts file uploads without proper validation, allowing the upload of malicious files, such as .phar, which can then be executed by the server. This vulnerability is fixed in 3.2.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00757,"percentile":0.55057,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/nilsonLazarin/WeGIA/security/advisories/GHSA-mjgr-2jxv-v8qf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nilsonLazarin/WeGIA/commit/a08f04de96d3caec85496d7a89a5b82d1960d9dd","tags":["x_refsource_MISC"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.01},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"nilsonlazarin","affectedVersions":[{"vendor":"nilsonLazarin","product":"WeGIA","versions":["< 3.2.8"]}],"euvd":{"id":"EUVD-2025-2653","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-labredescefetrj-wegia-cve-2025-22133","children":[{"from":"CVE-2025-22133","to":"CVE-2025-58159","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This is due to insufficient mitigation of CVE-2025-22133.","from":"CVE.org","in":"CVE-2025-58159"}]},{"from":"CVE-2025-22133","to":"CVE-2025-58745","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"The fix for CVE-2025-22133 was not enough to remediate the arbitrary file upload vulnerability.","from":"CVE.org","in":"CVE-2025-58745"}]}]}}