Fallos del tipo CWE-77

2808 resultados

Injeção de comando via entrada não sanitizada

O software constrói comandos (shell, SQL, LDAP, etc.) usando dados de entrada do usuário sem neutralizar caracteres especiais que alteram a semântica do comando. Um atacante injeta metacaracteres (como `;`, `|`, `$()`) para executar instruções não previstas.

Ejemplo

Um script PHP que executa `system('ping ' . $_GET['host'])` sem validação. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos, porque o ponto-e-vírgula encadeia comandos no shell.

Cómo mitigar

Use APIs de execução que separam dados de comando (ex: `execvp()` com array de argumentos em vez de shell, prepared statements para SQL). Se shell for inevitável, whitelist rigoroso de entrada e escape apropriado com `escapeshellarg()` ou equivalente na linguagem.

CVE-2025-11096MEDIUMD-Link DIR-823X diag_traceroute command injectionEPSS 4.1%CVE-2025-11097MEDIUMD-Link DIR-823X set_device_name command injectionEPSS 4.1%CVE-2025-11098MEDIUMD-Link DIR-823X set_wifi_blacklists command injectionEPSS 4.1%CVE-2026-7609MEDIUMTRENDnet TEW-821DAP Firmware Udpate diagnostic tools_diagnostic os command injectionEPSS 4.1%CVE-2022-40282HIGHThe web server of Hirschmann BAT-C2 before 09.13.01.00R04 allows authenticated command injection. This allows an authenticated attacker to pEPSS 4.1%CVE-2026-8632HIGHHP Linux Imaging and Printing Software – Potential Escalation of Privilege and Arbitrary Code ExecutionEPSS 4.1%CVE-2026-4196MEDIUMD-Link DNS-1550-04 remote_backup.cgi cgi_set_rsync_server command injectionEPSS 4.1%CVE-2026-1690MEDIUMTenda HG10 formSysCmd system command injectionEPSS 4.1%CVE-2023-1685MEDIUMHadSky Installation Interface index.php command injectionEPSS 4.1%CVE-2026-7096HIGHTenda HG3 formgponConf os command injectionEPSS 4.1%CVE-2019-1614HIGHCisco NX-OS Software NX-API Command Injection VulnerabilityEPSS 4.1%CVE-2026-4466MEDIUMComfast CF-AC100 mbox-config command injectionEPSS 4.1%CVE-2026-2157HIGHD-Link DIR-823X set_static_route_table sub_4175CC os command injectionEPSS 4.1%CVE-2026-2120HIGHD-Link DIR-823X Configuration Parameter set_server_settings os command injectionEPSS 4.1%CVE-2020-36529HIGHSevOne Network Management System Traceroute traceroute.php command injectionEPSS 4.1%CVE-2024-22198HIGHAuthenticated (user role) arbitrary command execution by modifying `start_cmd` setting (GHSL-2023-268)EPSS 4.1%CVE-2025-11407MEDIUMD-Link DI-7001 MINI upgrade_filter.asp os command injectionEPSS 4.0%CVE-2018-0430—Cisco Integrated Management Controller Command Injection VulnerabilityEPSS 4.0%CVE-2018-0431—Cisco Integrated Management Controller Command Injection VulnerabilityEPSS 4.0%CVE-2026-3301CRITICALTotolink N300RH Web Management cstecgi.cgi setWebWlanIdx os command injectionEPSS 4.0%