Fallos del tipo CWE-74

4734 resultados

Injeção de código ou comando

A aplicação constrói comandos ou queries dinâmicas concatenando entrada do usuário sem sanitização adequada, permitindo que um atacante injete código ou comandos maliciosos que serão executados com as permissões da aplicação. O risco é crítico porque o atacante passa a controlar a lógica de execução.

Ejemplo

Um login que monta a query SQL como `SELECT * FROM users WHERE email = '` + email_usuario + `'` permite que um atacante envie `admin@mail.com' OR '1'='1` e contorne autenticação. Ou um script que executa `system('ping ' + host_externo)` deixa aberto para injetar `; rm -rf /` e deletar arquivos.

Cómo mitigar

Use prepared statements (queries parametrizadas) para banco de dados, escape adequado para sistema operacional, e valide entrada contra um whitelist restrito. Nunca confie em concatenação de strings para montar comandos dinâmicos.

CVE-2025-11121MEDIUMTenda AC18 AdvSetLanip command injectionEPSS 3.7%CVE-2024-12350MEDIUMJFinalCMS Template TemplateController.java update command injectionEPSS 3.7%CVE-2025-9934MEDIUMTOTOLINK X5000R cstecgi.cgi sub_410C34 command injectionEPSS 3.7%CVE-2026-5020MEDIUMTotolink A3600R Parameter cstecgi.cgi setNoticeCfg command injectionEPSS 3.7%CVE-2026-5030MEDIUMTotolink NR1800X Telnet Service cstecgi.cgi NTPSyncWithHost command injectionEPSS 3.7%CVE-2026-94098CRITICALNetcore NBR200V2 Firmware Upgrade CGI Endpoint upgrade command injectionEPSS 3.7%CVE-2022-21663MEDIUMAuthenticated Object Injection in Multisites in WordPressEPSS 3.7%CVE-2024-11305MEDIUMAltenergy Power Control Software status_zigbee get_status_zigbee sql injectionEPSS 3.7%CVE-2025-7192MEDIUMD-Link DIR-645 ssdpcgi cgibin ssdpcgi_main command injectionEPSS 3.7%CVE-2021-21372HIGHNimble arbitrary code execution for specially crafted package metadataEPSS 3.6%CVE-2026-94097CRITICALNetcore NBR200V2 CGI Diagnostic Endpoint network_tools command injectionEPSS 3.6%CVE-2026-18684CRITICALGL.iNet GL-MT3000 modem.so glc remove_profile command injectionEPSS 3.6%CVE-2026-18685CRITICALGL.iNet GL-MT3000 modem.so glc set_upgrade 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-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-18614CRITICALGL-iNet GL-MT3000 s2s.so Native Plugin glc s2s.enable_echo_server 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%