Fallos del tipo CWE-78

4592 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-27811HIGHRoxy-WI has a Command Injection via diff parameter in config comparison allows authenticated RCEEPSS 3.0%CVE-2023-27216HIGHAn issue found in D-Link DSL-3782 v.1.03 allows remote authenticated users to execute arbitrary code as root via the network settings page.EPSS 3.0%CVE-2022-36231CRITICALpdf_info 0.5.3 is vulnerable to Command Execution because the Ruby code uses backticks instead of Open3.EPSS 3.0%CVE-2025-34113HIGHTiki Wiki CMS Authenticated Command Injection in Calendar ModuleEPSS 3.0%CVE-2018-17707—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Epic Games Launcher versions prior to 8.EPSS 3.0%CVE-2026-25070CRITICALXikeStor SKS8310-8X PingTestSet Command InjectionEPSS 3.0%CVE-2026-45744CRITICALTermix has an OS Command Injection in File Manager resolvePath endpointEPSS 3.0%CVE-2026-8153CRITICALCommand injection in Dashboard Server interfaceEPSS 3.0%CVE-2026-81467CRITICALDell ThinOS 10, versions prior to 2605_10. 2616, contains an Improper Neutralization of Special Elements used in an OS Command ('OS Command EPSS 3.0%CVE-2026-6942CRITICALradare2-mcp <=1.6.0 OS Command Injection via Shell Metacharacter BypassEPSS 3.0%CVE-2026-8051HIGHOS command injection in Ivanti Virtual Traffic Manager before version 22.9r4 allows a remote authenticated attacker with admin privileges toEPSS 3.0%CVE-2026-27476CRITICALRustFly 2.0.0 Command Injection via UDP Remote ControlEPSS 3.0%CVE-2025-34161CRITICALCoolify Git Repository Field Command Injection in Project Deployment WorkflowEPSS 3.0%CVE-2024-5717HIGHLogsign Unified SecOps Platform Command Injection Remote Code Execution VulnerabilityEPSS 3.0%CVE-2024-8077MEDIUMTOTOLINK AC1200 T8 setTracerouteCfg os command injectionEPSS 2.9%CVE-2026-86149CRITICALTenda CP3 NetCheckPing.cpp os command injectionEPSS 2.9%CVE-2026-86151CRITICALTenda CP3 Network Configuration Management system.c sub_2F77E8 os command injectionEPSS 2.9%CVE-2026-86148CRITICALTenda CP3 Kylin system.c SystemAsh os command injectionEPSS 2.9%CVE-2023-26145HIGHThis affects versions of the package pydash before 6.0.0. A number of pydash methods such as pydash.objects.invoke() and pydash.collections.EPSS 2.9%CVE-2020-15631HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DAP-1860 1.04B03_HOTFIX WEPSS 2.9%