OS Command Injection in WeGIA - CVE-2025-27140

 

OS Command Injection in WeGIA - CVE-2025-27140

Published: February 24, 2025 / Updated: May 2, 2026


Vulnerability identifier: #VU129025
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-27140
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LabReDeS
Affected software:
WeGIA

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper neutralization of special elements used in an os command in the importar_dump.php endpoint when handling the import file upload parameter. A remote attacker can supply a crafted filename in the import parameter to execute arbitrary code.

The issue affects POST /html/configuracao/importar_dump.php, and the session check can be bypassed because execution continues after the redirect logic.


How to mitigate CVE-2025-27140

Install security update from vendor's website.

Sources