Fallos del tipo CWE-77

2960 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-2025-10964MEDIUMWavlink NU516U1 firewall.cgi sub_401B30 command injectionEPSS 6.8%CVE-2025-10962MEDIUMWavlink NU516U1 SetName wireless.cgi sub_403198 command injectionEPSS 6.8%CVE-2025-11303MEDIUMBelkin F9K1015 mp command injectionEPSS 6.8%CVE-2025-11298MEDIUMBelkin F9K1015 formSetWanStatic command injectionEPSS 6.8%CVE-2025-11292MEDIUMBelkin F9K1015 formBSSetSitesurvey command injectionEPSS 6.8%CVE-2026-4209MEDIUMD-Link DNS-1550-04 account_mgr.cgi cgi_chg_admin_pw command injectionEPSS 6.8%CVE-2024-8127MEDIUMD-Link DNS-1550-04 HTTP POST Request webfile_mgr.cgi cgi_unzip command injectionEPSS 6.7%CVE-2025-9244MEDIUMLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 addStaticRoute os command injectionEPSS 6.7%CVE-2025-10324MEDIUMWavlink WL-WN578W2 firewall.cgi sub_401C5C command injectionEPSS 6.7%CVE-2025-10323MEDIUMWavlink WL-WN578W2 wizard_rep.shtml sub_409184 command injectionEPSS 6.7%CVE-2026-3101MEDIUMIntelbras TIP 635G Ping os command injectionEPSS 6.6%CVE-2026-2142HIGHD-Link DIR-823X set_qos sub_420688 os command injectionEPSS 6.6%CVE-2025-60687MEDIUMAn unauthenticated command injection vulnerability exists in the ToToLink LR1200GB Router firmware V9.1.0u.6619_B20230130 within the cstecgiEPSS 6.6%CVE-2026-2163MEDIUMD-Link DIR-600 ssdp.cgi command injectionEPSS 6.6%CVE-2025-6335MEDIUMDedeCMS Template dedetag.class.php command injectionEPSS 6.6%CVE-2026-46368HIGHluci-app-https-dns-proxy Authenticated Command Injection via setInitActionEPSS 6.6%CVE-2025-10959MEDIUMWavlink NU516U1 firewall.cgi sub_401778 command injectionEPSS 6.6%CVE-2023-0640HIGHTRENDnet TEW-652BRP Web Interface ping.ccp command injectionEPSS 6.5%CVE-2026-5339MEDIUMTenda G103 Setting gpon.lua action_set_net_settings command injectionEPSS 6.5%CVE-2018-3779—active-support ruby gem 5.2.0 could allow a remote attacker to execute arbitrary code on the system, caused by containing a malicious backdoEPSS 6.5%