Fallos del tipo CWE-77

2808 resultados

Injeção de comando via entrada não sanitizada

O software constrói comandos (shell, SQL, LDAP, etc.) usando dados de entrada do usuário sem neutralizar caracteres especiais que alteram a semântica do comando. Um atacante injeta metacaracteres (como `;`, `|`, `$()`) para executar instruções não previstas.

Ejemplo

Um script PHP que executa `system('ping ' . $_GET['host'])` sem validação. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos, porque o ponto-e-vírgula encadeia comandos no shell.

Cómo mitigar

Use APIs de execução que separam dados de comando (ex: `execvp()` com array de argumentos em vez de shell, prepared statements para SQL). Se shell for inevitável, whitelist rigoroso de entrada e escape apropriado com `escapeshellarg()` ou equivalente na linguagem.

CVE-2018-16460—A 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%