Weaknesses of type CWE-77

2,808 results

Injeção de comando por entrada não neutralizada

O software monta um comando (shell, sistema operacional ou aplicação) usando dados recebidos de fora (entrada do usuário, API, banco de dados) sem remover ou neutralizar caracteres especiais que alteram a semântica do comando. Isso permite que um atacante injete comandos arbitrários que serão executados com as permissões da aplicação.

Example

Um script PHP que executa ping com o IP fornecido pelo usuário: `system('ping ' . $_GET['ip'])`. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, porque o ponto-e-vírgula não foi escapado e o shell interpreta dois comandos sequenciais.

How to mitigate

Use APIs seguras que não envolvem interpretação de shell (ex: ProcessBuilder em Java, subprocess.run com shell=False em Python). Se imperativo usar shell, valide com whitelist rigorosa (apenas caracteres alfanuméricos/IPs válidos) e escape com funções específicas da linguagem (escapeshellarg em PHP, shlex.quote em Python).

CVE-2018-16460A command Injection in ps package versions <1.0.0 for Node.js allowed arbitrary commands to be executed when attacker controls the PID.EPSS 2.9%CVE-2024-34338HIGHTenda O3V2 with firmware versions V1.0.0.10 and V1.0.0.12 was discovered to contain a Blind Command Injection via dest parameter in /goform/EPSS 2.8%CVE-2023-0849MEDIUMNetgear WNDR3700v2 Web Interface command injectionEPSS 2.8%CVE-2026-2544MEDIUMyued-fe LuLu UI run.js child_process.exec os command injectionEPSS 2.8%CVE-2023-28489CRITICALA vulnerability has been identified in CP-8031 MASTER MODULE (All versions < CPCI85 V05), CP-8050 MASTER MODULE (All versions < CPCI85 V05).EPSS 2.8%CVE-2025-7524MEDIUMTOTOLINK T6 HTTP POST Request cstecgi.cgi setDiagnosisCfg command injectionEPSS 2.8%CVE-2025-14756HIGHAuthenticated Command Injection Vulnerability in Archer MR600EPSS 2.8%CVE-2022-45462CRITICALApache DolphinScheduler prior to 2.0.5 have command execution vulnerabilityEPSS 2.8%CVE-2025-7525MEDIUMTOTOLINK T6 HTTP POST Request cstecgi.cgi setTracerouteCfg command injectionEPSS 2.8%CVE-2026-3484MEDIUMPhialsBasement nmap-mcp-server Nmap CLI index.ts child_process.exec command injectionEPSS 2.8%CVE-2025-64052MEDIUMAn issue was discovered in Fanvil x210 V2 2.12.20 allowing unauthenticated attackers on the local network to execute arbitrary system commanEPSS 2.8%CVE-2025-57198HIGHAVTECH SECURITY Corporation DGM1104 FullImg-1015-1004-1006-1003 was discovered to contain an authenticated command injection vulnerability iEPSS 2.8%CVE-2026-90703CRITICALD-Link DWR-M921 formDiskCreateShare system os command injectionEPSS 2.8%CVE-2026-90702CRITICALD-Link DWR-M921 formDiskFormat system os command injectionEPSS 2.8%CVE-2020-3277HIGHCisco Small Business RV Series Routers Command Injection VulnerabilitiesEPSS 2.8%CVE-2020-3275HIGHCisco Small Business RV Series Routers Command Injection VulnerabilitiesEPSS 2.8%CVE-2020-3279HIGHCisco Small Business RV Series Routers Command Injection VulnerabilitiesEPSS 2.8%CVE-2020-3276HIGHCisco Small Business RV Series Routers Command Injection VulnerabilitiesEPSS 2.8%CVE-2020-3274HIGHCisco Small Business RV Series Routers Command Injection VulnerabilitiesEPSS 2.8%CVE-2020-3278HIGHCisco Small Business RV Series Routers Command Injection VulnerabilitiesEPSS 2.8%