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-1414MEDIUMSangfor Operation and Maintenance Security Management System HTTP POST Request get_Information getInformation command injectionEPSS 4.8%CVE-2025-9582MEDIUMComfast CF-N1 webmgnt ntp_timezone command injectionEPSS 4.8%CVE-2020-26282CRITICALTemplate Injection in BrowserUp ProxyEPSS 4.8%CVE-2026-18686CRITICALGL.iNet GL-MT3000 nas-web RPC Wrapper glc nas-web.add_user command injectionEPSS 4.7%CVE-2026-1690MEDIUMTenda HG10 formSysCmd system command injectionEPSS 4.7%CVE-2026-10878MEDIUMD-Link DWR-M920 formSmsManage sub_41C8E8 command injectionEPSS 4.7%CVE-2025-11335MEDIUMD-Link DI-7100G C1 jhttpd msp_info.htm sub_46409C command injectionEPSS 4.6%CVE-2025-9585MEDIUMComfast CF-N1 webmgnt wifilith_delete_pic_file command injectionEPSS 4.6%CVE-2025-9583MEDIUMComfast CF-N1 webmgnt ping_config command injectionEPSS 4.6%CVE-2020-15238HIGHLocal privilege escalation BluemanEPSS 4.6%CVE-2025-15357MEDIUMD-Link DI-7400G+ msp_info.htm command injectionEPSS 4.6%CVE-2026-1064MEDIUMbastillion-io Bastillion System Management SystemKtrl.java command injectionEPSS 4.5%CVE-2026-1063MEDIUMbastillion-io Bastillion Public Key Management System AuthKeysKtrl.java command injectionEPSS 4.5%CVE-2026-4203MEDIUMD-Link DNS-1550-04 network_mgr.cgi cgi_dhcpd command injectionEPSS 4.5%CVE-2025-10123MEDIUMD-Link DIR-823X set_static_leases sub_415028 command injectionEPSS 4.5%CVE-2026-18599HIGHGL.iNet GL-MT3000 Logread Lua RPC Plugin logread logread.set_config command injectionEPSS 4.4%CVE-2026-2218MEDIUMD-Link DCS-933L alphapd setSystemAdmin command injectionEPSS 4.4%CVE-2026-2194MEDIUMD-Link DI-7100G C1 start_proxy_client_email command injectionEPSS 4.4%CVE-2026-82595MEDIUMD-Link DIR-825M System Command Execution formSysCmd sub_456CF4 command injectionEPSS 4.4%CVE-2025-8752MEDIUMwangzhixuan spring-shiro-training add command injectionEPSS 4.3%