Fallos del tipo CWE-78

4603 resultados

Injeção de Comando do Sistema Operacional

A aplicação constrói comandos do SO (shell, cmd.exe, etc.) usando dados de entrada do usuário ou de fontes externas sem validar ou sanitizar adequadamente. Um atacante consegue injetar metacaracteres especiais (como ;, |, &, `, $()) para executar comandos arbitrários além daqueles originalmente planejados.

Ejemplo

Uma API que executa `ping hostname` recebendo o hostname como parâmetro GET faz isso: `exec('ping ' + request.query.host)`. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, não apenas fazer ping.

Cómo mitigar

Evite construir comandos concatenando strings com entrada externa — use bibliotecas que parametrizem comandos ou listas de argumentos (como execFile no Node.js, subprocess com lista em Python, ProcessBuilder em Java). Se for inevitável, valide contra uma whitelist rígida e, se disponível, use modo restrito do shell (sh -c com argumentos seguros) ou contenha a execução em sandbox/container.

CVE-2024-45887HIGHDrayTek Vigor3900 1.5.1.3 contains a post-authentication command injection vulnerability. This vulnerability occurs when the `action` parameEPSS 2.1%CVE-2024-45890HIGHDrayTek Vigor3900 1.5.1.3 contains a post-authentication command injection vulnerability This vulnerability occurs when the `action` parametEPSS 2.1%CVE-2024-45884HIGHDrayTek Vigor3900 1.5.1.3 contains a post-authentication command injection vulnerability. This vulnerability occurs when the `action` parameEPSS 2.1%CVE-2025-2773HIGHBEC Technologies Multiple Routers sys ping Command Injection Remote Code Execution VulnerabilityEPSS 2.1%CVE-2021-33534HIGHWEIDMUELLER: WLAN devices affected by OS Command Injection vulnerabilityEPSS 2.1%CVE-2026-30312CRITICALDSAI-Cline's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechaniEPSS 2.1%CVE-2026-31226CRITICALThe TinyZero project thru commit 6652a63c57fa7e5ccde3fc9c598c7176ff15b839 (2025-58-24) contains a critical command injection vulnerability (EPSS 2.1%CVE-2026-31386HIGHOpenLiteSpeed and LSWS Enterprise provided by LiteSpeed Technologies contain an OS command injection vulnerability. An arbitrary OS command EPSS 2.1%CVE-2026-26323HIGHOpenClaw has a command injection in maintainer clawtributors updaterEPSS 2.1%CVE-2023-3097MEDIUMKylinSoft kylin-software-properties setMainSource os command injectionEPSS 2.1%CVE-2024-2162HIGHAuthenticated Remote Code Execution in Kiloview NDI N series productsEPSS 2.1%CVE-2026-90617MEDIUMGH05TCREW PentestAgent MCP HTTP Server main.py run_task os command injectionEPSS 2.1%CVE-2026-90618MEDIUMGH05TCREW PentestAgent LocalRuntime runtime.py LocalRuntime.execute_command os command injectionEPSS 2.1%CVE-2024-1624CRITICALOS Command Injection vulnerability affecting documentation server on certain Releases of 3DEXPERIENCE, SIMULIA Abaqus, SIMULIA Isight and CATIA ComposerEPSS 2.1%CVE-2023-42120HIGHControl Web Panel dns_zone_editor Command Injection Remote Code Execution VulnerabilityEPSS 2.1%CVE-2026-85040MEDIUMZhongBangKeJi CRMEB Custom Scheduled Task Feature save eval os command injectionEPSS 2.1%CVE-2021-32512CRITICALQSAN Storage Manager - Command Injection Following via QuickInstall functionEPSS 2.1%CVE-2021-32513CRITICALQSAN Storage Manager - Command Injection Following via QsanTorture functionEPSS 2.1%CVE-2022-45977HIGHTenda AX12 V22.03.01.21_CN was found to have a command injection vulnerability via /goform/setMacFilterCfg function.EPSS 2.1%CVE-2024-30247CRITICALCommand Injection as root in NextCloudPi web panelEPSS 2.1%