Fallos del tipo CWE-78

5061 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-2026-71956CRITICALD-Link DWR-M961 Command Injection via app.cgiEPSS 3.2%CVE-2026-71948CRITICALD-Link DWR-M961 Command Injection via /boafrm/formDebugDiagnosticRunEPSS 3.2%CVE-2026-71953CRITICALD-Link DWR-M961 Command Injection via /boafrm/formNtpEPSS 3.2%CVE-2026-71951CRITICALD-Link DWR-M961 Command Injection via /boafrm/formIMEISetupEPSS 3.2%CVE-2026-71955CRITICALD-Link DWR-M961 Command Injection via /boafrm/formWscEPSS 3.2%CVE-2026-71946CRITICALD-Link DWR-M961 Command Injection via /boafrm/formPingDiagnosticRunEPSS 3.2%CVE-2026-71947CRITICALD-Link DWR-M961 Command Injection via /boafrm/formTracerouteDiagnosticRunEPSS 3.2%CVE-2026-71949CRITICALD-Link DWR-M961 Command Injection via /boafrm/formUSSDSetupEPSS 3.2%CVE-2026-71945CRITICALD-Link DWR-M961 Command Injection via /boafrm/formLtefotaUpgradeFibocomEPSS 3.2%CVE-2026-71950CRITICALD-Link DWR-M961 Command Injection via /boafrm/formSmsManageEPSS 3.2%CVE-2026-71954CRITICALD-Link DWR-M961 Command Injection via /boafrm/formL2tpv3ConfigSetupEPSS 3.2%CVE-2026-89010CRITICALWAVLINK WN535M1/WN535M3 Unauthenticated OS Command Injection via sync_serverEPSS 3.2%CVE-2026-15027HIGHChanging|CGServiSign - OS Command InjectionEPSS 3.2%CVE-2026-4611HIGHTOTOLINK X6000R shttpd setLanCfg privilege escalationEPSS 3.2%CVE-2025-56093HIGHOS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted POSTEPSS 3.2%CVE-2017-16602—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of NetGain Systems Enterprise Manager 7.2.7EPSS 3.2%CVE-2022-48107CRITICALD-Link DIR_878_FW1.30B08 was discovered to contain a command injection vulnerability via the component /setnetworksettings/IPAddress. This vEPSS 3.1%CVE-2022-48108CRITICALD-Link DIR_878_FW1.30B08 was discovered to contain a command injection vulnerability via the component /SetNetworkSettings/SubnetMask. This EPSS 3.1%CVE-2025-20292MEDIUMCisco NXOS Software Command Injection VulnerabilityEPSS 3.1%CVE-2026-102114HIGHKiteworks Core OS Command InjectionEPSS 3.1%