Falhas do tipo CWE-74

4.734 resultados

Injeção de código

Ocorre quando dados não confiáveis (entrada do usuário) são incorporados diretamente em comandos ou consultas executadas pelo sistema, sem validação ou escape. Um atacante consegue injetar código malicioso (SQL, script, comando) que será interpretado e executado com os privilégios da aplicação.

Exemplo

Uma busca por usuário que concatena a entrada diretamente em SQL: `SELECT * FROM users WHERE name = '` + input + `'`. Se o usuário digitar `' OR '1'='1`, a consulta retorna todos os registros. Com entrada maliciosa como `'; DROP TABLE users; --`, o banco é destruído.

Como mitigar

Use prepared statements ou queries parametrizadas (placeholders) para separar dados de código. Valide e sanitize todas as entradas, aplicando listas de permissão quando possível. Implemente o princípio do menor privilégio: a conta de banco de dados da aplicação deve ter apenas permissões necessárias.

CVE-2026-4466MEDIUMComfast CF-AC100 mbox-config command injectionEPSS 3.4%CVE-2026-4467MEDIUMComfast CF-AC100 mbox-config command injectionEPSS 3.4%CVE-2025-5606MEDIUMTenda AC18 SetIPTVCfg formSetIptv command injectionEPSS 3.4%CVE-2025-14208MEDIUMD-Link DIR-823X set_wan_settings sub_415028 command injectionEPSS 3.4%CVE-2026-2168MEDIUMD-Link DWR-M921 formLtefotaUpgradeQuectel sub_419920 command injectionEPSS 3.4%CVE-2025-7415MEDIUMTenda O3V2 httpd getTraceroute fromTraceroutGet command injectionEPSS 3.4%CVE-2026-2178MEDIUMr-huijts xcode-mcp-server run_lldb index.ts registerXcodeTools command injectionEPSS 3.4%CVE-2026-5562MEDIUMprovectus kafka-ui Endpoint testexecutions validateAccess code injectionEPSS 3.4%CVE-2023-51664HIGHtj-actions/changed-files command injection in output filenamesEPSS 3.4%CVE-2025-1845MEDIUMESAFENET DSM examExportPDF command injectionEPSS 3.3%CVE-2026-1548MEDIUMTotolink A7000R cstecgi.cgi CloudACMunualUpdateUserdata command injectionEPSS 3.3%CVE-2026-82971CRITICALQVidium Opera11 CGI Script net_tr.cgi command injectionEPSS 3.3%CVE-2026-18598HIGHGL.iNet GL-MT3000 Logread Lua RPC plugin logread logread.get_system_log command injectionEPSS 3.2%CVE-2026-94099CRITICALNetcore NBR200V2 Backup Restore restore.cgi command injectionEPSS 3.2%CVE-2026-83772CRITICALCobham SATCOM VSAT7090 Maritime Satellite Router JSON Parsing mail-report.sh c_set_reports_decode command injectionEPSS 3.2%CVE-2026-94095CRITICALNetcore NBR200V2 Traceroute Diagnostic Feature network_tools command injectionEPSS 3.2%CVE-2026-83524CRITICALRedPort Optimizer wXa-223 System Clock datetime.php exec command injectionEPSS 3.2%CVE-2026-18787HIGHGL.iNet AX1800 RPC Endpoint oui-rpc.lua remove_rule command injectionEPSS 3.2%CVE-2026-18600HIGHGL.iNet GL-MT3000 Network Lua RPC Plugin network network.switch_status command injectionEPSS 3.2%CVE-2026-94096CRITICALNetcore NBR200V2 LAN IP Configuration network_tools command injectionEPSS 3.2%