Falhas do tipo CWE-74

5.078 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-27022MEDIUMRediSearch Query Injection in @langchain/langgraph-checkpoint-redisEPSS 4.0%CVE-2026-2193MEDIUMD-Link DI-7100G C1 set_jhttpd_info command injectionEPSS 4.0%CVE-2026-4205MEDIUMD-Link DNS-1550-04 app_mgr.cgi FTP_Server_BlockIP_Del command injectionEPSS 4.0%CVE-2026-4195MEDIUMD-Link DNS-1550-04 wizard_mgr.cgi command injectionEPSS 4.0%CVE-2026-18612CRITICALGL-iNet GL-MT3000 plugins.so Native Plugin glc plugins.install_package command injectionEPSS 4.0%CVE-2026-4204MEDIUMD-Link DNS-1550-04 gui_mgr.cgi cgi_mycloud_auto_downlaod command injectionEPSS 4.0%CVE-2025-12313MEDIUMD-Link DI-7001 MINI msp_info.htm command injectionEPSS 4.0%CVE-2026-19266MEDIUMKirachon context-engine review-git-diff Endpoint gitUtils.ts execGitCommand command injectionEPSS 3.9%CVE-2026-4554MEDIUMTenda F453 WriteFacMac FormWriteFacMac privilege escalationEPSS 3.9%CVE-2025-11100MEDIUMD-Link DIR-823X set_wifi_blacklists uci_set command injectionEPSS 3.9%CVE-2023-3380MEDIUMWavlink WN579X3 Ping Test adm.cgi injectionEPSS 3.9%CVE-2026-18902HIGHH3C NX15 esps repeaterproc command injectionEPSS 3.8%CVE-2022-21663MEDIUMAuthenticated Object Injection in Multisites in WordPressEPSS 3.8%CVE-2026-1802MEDIUMZiroom ZHOME A0101 zrMacClone.lua macAddrClone command injectionEPSS 3.8%CVE-2025-14659HIGHD-Link DIR-860LB1/DIR-868LB1 DHCP command injectionEPSS 3.8%CVE-2026-2168MEDIUMD-Link DWR-M921 formLtefotaUpgradeQuectel sub_419920 command injectionEPSS 3.8%CVE-2025-5606MEDIUMTenda AC18 SetIPTVCfg formSetIptv command injectionEPSS 3.8%CVE-2025-15256MEDIUMEdimax BR-6208AC Web-based Configuration formStaDrvSetup command injectionEPSS 3.8%CVE-2025-11097MEDIUMD-Link DIR-823X set_device_name command injectionEPSS 3.8%CVE-2025-11099MEDIUMD-Link DIR-823X delete_prohibiting uci_del command injectionEPSS 3.8%