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-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%CVE-2026-2178MEDIUMr-huijts xcode-mcp-server run_lldb index.ts registerXcodeTools command injectionEPSS 3.7%CVE-2025-11523MEDIUMTenda AC7 AdvSetLanip command injectionEPSS 3.7%CVE-2024-12350MEDIUMJFinalCMS Template TemplateController.java update command injectionEPSS 3.7%CVE-2022-42468CRITICALApache Flume prior to 1.11.0 has an Improper Input Validation (JNDI Injection) in JMSSourceEPSS 3.7%CVE-2024-11305MEDIUMAltenergy Power Control Software status_zigbee get_status_zigbee sql injectionEPSS 3.7%CVE-2021-21372HIGHNimble arbitrary code execution for specially crafted package metadataEPSS 3.6%CVE-2026-18614CRITICALGL-iNet GL-MT3000 s2s.so Native Plugin glc s2s.enable_echo_server command injectionEPSS 3.6%CVE-2026-18602CRITICALGL.iNet GL-MT3000 ovpn-client.so Native Plugin glc ovpn-client.get_recommend_config command injectionEPSS 3.6%CVE-2026-18616CRITICALGL-iNet GL-MT3000 wg-server.so Native Plugin glc server.set_peer command injectionEPSS 3.6%CVE-2026-18615CRITICALGL-iNet GL-MT3000 wg-server.so Native Plugin glc wg-server.generate_publickey command injectionEPSS 3.6%CVE-2026-18601CRITICALGL.iNet GL-MT3000 ovpn-client.so Native Plugin glc ovpn-client.check_config command injectionEPSS 3.6%CVE-2026-18685CRITICALGL.iNet GL-MT3000 modem.so glc set_upgrade command injectionEPSS 3.6%CVE-2026-18684CRITICALGL.iNet GL-MT3000 modem.so glc remove_profile command injectionEPSS 3.6%CVE-2026-18812HIGHH3C NX15 esps esps.ipv6.wan command injectionEPSS 3.6%CVE-2026-18814HIGHH3C NX15 esps reload.reload_config command injectionEPSS 3.6%CVE-2026-18813HIGHH3C NX15 esps delete command injectionEPSS 3.6%CVE-2026-18811HIGHH3C NX15 esps add command injectionEPSS 3.6%CVE-2026-4468MEDIUMComfast CF-AC100 mbox-config command injectionEPSS 3.6%