Fallos del tipo CWE-78

5063 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-1655HIGHASUS WiFi Router - OS Command InjectionEPSS 2.0%CVE-2022-43973HIGHArbitrary code execution in Linksys WRT54GLEPSS 2.0%CVE-2023-51984CRITICALD-Link DIR-822+ V1.0.2 was found to contain a command injection in SetStaticRouteSettings function. allows remote attackers to execute arbitEPSS 2.0%CVE-2026-62928CRITICALXING CPTrans-ME-X contains an OS Command Injection (CWE-78). Unauthenticated OS command may be injected.EPSS 2.0%CVE-2025-22398CRITICALDell Unity, version(s) 5.4 and prior, contain(s) an Improper Neutralization of Special Elements used in an OS Command ('OS Command InjectionEPSS 2.0%CVE-2025-27106HIGHCode injection in binance-trading-botEPSS 2.0%CVE-2026-102240CRITICALNetcore NAP930 Network Tools CGI network_tools eval os command injectionEPSS 2.0%CVE-2026-101076CRITICALNetcore NR289-GE CGI set_ntp_server_ip.cgi system os command injectionEPSS 2.0%CVE-2026-5679MEDIUMTotolink A3300R cstecgi.cgi vsetTr069Cfg os command injectionEPSS 2.0%CVE-2026-46420MEDIUMsetup-php: Command Injection in Repository-Derived PHP Version ResolutionEPSS 2.0%CVE-2024-40584MEDIUMAn improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiAnalyzEPSS 2.0%CVE-2026-45744CRITICALTermix has an OS Command Injection in File Manager resolvePath endpointEPSS 2.0%CVE-2021-28203HIGHASUS BMC's firmware: command injection - Web Set Media Image functionEPSS 2.0%CVE-2026-32917CRITICALOpenClaw < 2026.3.13 - Remote Command Injection via Unsanitized iMessage Attachment Paths in SCPEPSS 2.0%CVE-2026-33718HIGHOpenHands is Vulnerable to Command Injection through its Git Diff HandlerEPSS 2.0%CVE-2022-39321HIGHGitHub Actions Runner vulnerable to Docker Command EscapingEPSS 2.0%CVE-2026-32238CRITICALOpenEMR has Remote Code Execution in backup functionalityEPSS 2.0%CVE-2022-44844CRITICALTOTOlink A7100RU V7.4cu.2313_B20191024 was discovered to contain a command injection vulnerability via the pass parameter in the setting/setEPSS 2.0%CVE-2026-9436CRITICALTotolink A8000RU Web Management cstecgi.cgi setL2tpServerCfg os command injectionEPSS 2.0%CVE-2022-44843CRITICALTOTOlink A7100RU V7.4cu.2313_B20191024 was discovered to contain a command injection vulnerability via the port parameter in the setting/setEPSS 2.0%