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-1064MEDIUMbastillion-io Bastillion System Management SystemKtrl.java command injectionEPSS 4.6%CVE-2025-10689MEDIUMD-Link DIR-645 soap.cgi soapcgi_main command injectionEPSS 4.6%CVE-2025-15357MEDIUMD-Link DI-7400G+ msp_info.htm command injectionEPSS 4.6%CVE-2026-2085HIGHD-Link DWR-M921 USSD Configuration Endpoint formUSSDSetup sub_419F20 command injectionEPSS 4.5%CVE-2026-4209MEDIUMD-Link DNS-1550-04 account_mgr.cgi cgi_chg_admin_pw command injectionEPSS 4.5%CVE-2025-15391MEDIUMD-Link DIR-806A SSDP Request ssdpcgi_main command injectionEPSS 4.4%CVE-2026-2118HIGHUTT HiPER 810 rehttpd formReleaseConnect sub_4407D4 command injectionEPSS 4.4%CVE-2026-2135MEDIUMUTT HiPER 810 formPdbUpConfig sub_43F020 command injectionEPSS 4.4%CVE-2025-8752MEDIUMwangzhixuan spring-shiro-training add command injectionEPSS 4.4%CVE-2026-1412MEDIUMSangfor Operation and Maintenance Security Management System HTTP POST Request get_clip_img command injectionEPSS 4.3%CVE-2022-4364MEDIUMTeledyne FLIR AX8 Web Service palette.php command injectionEPSS 4.3%CVE-2019-1939HIGHCisco Webex Teams Logging Feature Command Execution VulnerabilityEPSS 4.3%CVE-2021-21353MEDIUMRemote code execution in pugEPSS 4.3%CVE-2026-10878MEDIUMD-Link DWR-M920 formSmsManage sub_41C8E8 command injectionEPSS 4.2%CVE-2026-4203MEDIUMD-Link DNS-1550-04 network_mgr.cgi cgi_dhcpd command injectionEPSS 4.2%CVE-2020-26238HIGHCritical vulnerability found in cron-utilsEPSS 4.2%CVE-2026-4207MEDIUMD-Link DNS-1550-04 system_mgr.cgi cgi_ntp_time command injectionEPSS 4.1%CVE-2025-15192MEDIUMD-Link DWR-M920 formLtefotaUpgradeQuectel sub_415328 command injectionEPSS 4.1%CVE-2025-15191MEDIUMD-Link DWR-M920 formLtefotaUpgradeFibocom sub_4155B4 command injectionEPSS 4.1%CVE-2025-11100MEDIUMD-Link DIR-823X set_wifi_blacklists uci_set command injectionEPSS 4.1%