OS Command Injection in WeGIA - CVE-2025-27140
Published: February 24, 2025 / Updated: May 2, 2026
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.