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-2026-36044HIGH@pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/coEPSS 2.4%CVE-2022-24377HIGHCommand InjectionEPSS 2.4%CVE-2026-30303CRITICALThe command auto-approval module in Axon Code contains an OS Command Injection vulnerability, rendering its whitelist security mechanism ineEPSS 2.4%CVE-2020-37027CRITICALSickbeard 0.1 - Remote Command InjectionEPSS 2.4%CVE-2012-10040CRITICALOpenfiler v2.x NetworkCard Command ExecutionEPSS 2.4%CVE-2021-32772HIGHImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in helper_entriesEPSS 2.4%CVE-2012-10039CRITICALZEN Load Balancer Filelog Command ExecutionEPSS 2.4%CVE-2026-22226HIGHCommand Injection Vulnerability on TP-Link Archer BE230 and AX73EPSS 2.4%CVE-2026-35585HIGHFile Browser has a Command Injection via Hook RunnerEPSS 2.4%CVE-2022-42140HIGHDelta Electronics DX-2100-L1-CN 2.42 is vulnerable to Command Injection via lform/net_diagnose.EPSS 2.4%CVE-2025-56082HIGHOS Command Injection vulnerability in Ruijie RG-BCR RG-BCR600W allowing attackers to execute arbitrary commands via a crafted POST request tEPSS 2.4%CVE-2026-5528MEDIUMMoussaabBadla code-screenshot-mcp HTTP os command injectionEPSS 2.4%CVE-2018-13285HIGHCommand injection vulnerability in ftpd in Synology Router Manager (SRM) before 1.1.7-6941-1 allows remote authenticated users to execute arEPSS 2.4%CVE-2026-76060HIGHOS Command Injection in PayRange APIEPSS 2.4%CVE-2020-7034HIGHCommand injection in Avaya Session Border Controller for EnterpriseEPSS 2.4%CVE-2025-7154MEDIUMTOTOLINK N200RE cstecgi.cgi sub_41A0F8 os command injectionEPSS 2.4%CVE-2021-36023CRITICALMagento Commerce Widgets Update Layout XML Injection Vulnerability Could Lead To Remote Code ExecutionEPSS 2.4%CVE-2023-29805CRITICALWFS-SR03 v1.0.3 was discovered to contain a command injection vulnerability via the pro_stor_canceltrans_handler_part_19 function.EPSS 2.4%CVE-2025-15379CRITICALCommand Injection in mlflow/mlflowEPSS 2.4%CVE-2023-51698CRITICALAtril's CBT comic book parsing vulnerable to Remote Code ExecutionEPSS 2.4%