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-4466MEDIUMComfast CF-AC100 mbox-config command injectionEPSS 4.3%CVE-2019-1939HIGHCisco Webex Teams Logging Feature Command Execution VulnerabilityEPSS 4.3%CVE-2026-1412MEDIUMSangfor Operation and Maintenance Security Management System HTTP POST Request get_clip_img command injectionEPSS 4.3%CVE-2026-4196MEDIUMD-Link DNS-1550-04 remote_backup.cgi cgi_set_rsync_server command injectionEPSS 4.3%CVE-2021-21353MEDIUMRemote code execution in pugEPSS 4.3%CVE-2026-101261CRITICALZiroom ZHOME A0101 firstSetup_wifi command injectionEPSS 4.2%CVE-2025-4350HIGHD-Link DIR-600L wake_on_lan command injectionEPSS 4.2%CVE-2025-4349HIGHD-Link DIR-600L formSysCmd command injectionEPSS 4.2%CVE-2025-7192MEDIUMD-Link DIR-645 ssdpcgi cgibin ssdpcgi_main command injectionEPSS 4.2%CVE-2020-26238HIGHCritical vulnerability found in cron-utilsEPSS 4.2%CVE-2025-15391MEDIUMD-Link DIR-806A SSDP Request ssdpcgi_main command injectionEPSS 4.2%CVE-2022-4364MEDIUMTeledyne FLIR AX8 Web Service palette.php command injectionEPSS 4.2%CVE-2025-10689MEDIUMD-Link DIR-645 soap.cgi soapcgi_main 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-2026-5178MEDIUMTotolink A3300R cstecgi.cgi setIptvCfg command injectionEPSS 4.1%CVE-2026-4210MEDIUMD-Link DNS-1550-04 time_machine.cgi cgi_tm_set_share command injectionEPSS 4.1%CVE-2026-5105MEDIUMTotolink A3300R Parameter cstecgi.cgi setVpnPassCfg command injectionEPSS 4.1%CVE-2026-5103MEDIUMTotolink A3300R cstecgi.cgi setUPnPCfg command injectionEPSS 4.1%CVE-2026-3395MEDIUMMaxSite CMS MarkItUp Preview AJAX Endpoint preview-ajax.php eval code injectionEPSS 4.0%