Fallos del tipo CWE-78

5018 resultados

Injeção de Comando do Sistema Operacional

A aplicação constrói comandos do SO (shell, cmd.exe, etc.) usando dados de entrada do usuário ou de fontes externas sem validar ou sanitizar adequadamente. Um atacante consegue injetar metacaracteres especiais (como ;, |, &, `, $()) para executar comandos arbitrários além daqueles originalmente planejados.

Ejemplo

Uma API que executa `ping hostname` recebendo o hostname como parâmetro GET faz isso: `exec('ping ' + request.query.host)`. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, não apenas fazer ping.

Cómo mitigar

Evite construir comandos concatenando strings com entrada externa — use bibliotecas que parametrizem comandos ou listas de argumentos (como execFile no Node.js, subprocess com lista em Python, ProcessBuilder em Java). Se for inevitável, valide contra uma whitelist rígida e, se disponível, use modo restrito do shell (sh -c com argumentos seguros) ou contenha a execução em sandbox/container.

CVE-2025-8827MEDIUMLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 RP_setBasicAuto um_inspect_cross_band os command injectionEPSS 5.8%CVE-2025-8821MEDIUMLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 RP_setBasic os command injectionEPSS 5.8%CVE-2025-8825MEDIUMLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 RP_setBasicAuto os command injectionEPSS 5.8%CVE-2025-8829MEDIUMLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 RP_setBasicAuto um_red os command injectionEPSS 5.8%CVE-2025-8828MEDIUMLinksys RE6250/RE6300/RE6350/RE6500/RE7000/RE9000 setIpv6 ipv6cmd os command injectionEPSS 5.8%CVE-2023-22653HIGHAn OS command injection vulnerability exists in the vtysh_ubus tcpdump_start_cb functionality of Milesight UR32L v32.3.0.5. A specially crafEPSS 5.8%CVE-2026-1448HIGHD-Link DIR-615 Web Management wiz_policy_3_machine.php os command injectionEPSS 5.8%CVE-2026-19586CRITICALPre-Authentication OS Command Injection in Omada Gateways on OpenVPN Server in Omada GatewaysEPSS 5.8%CVE-2024-7357MEDIUMD-Link DIR-600 soap.cgi soapcgi_main os command injectionEPSS 5.7%CVE-2025-71284CRITICALSynway SMG Gateway Management Software OS Command Injection via radius_addressEPSS 5.7%CVE-2025-15499HIGHSangfor Operation and Maintenance Management System VersionController.java uploadCN os command injectionEPSS 5.7%CVE-2025-9579MEDIUMLB-LINK BL-X26 HTTP set_hidessid_cfg os command injectionEPSS 5.7%CVE-2019-11062—SUNNET WMPro v5.0 and v5.1 has OS Command InjectionEPSS 5.7%CVE-2026-7608MEDIUMTRENDnet TEW-821DAP tools_diagnostic os command injectionEPSS 5.7%CVE-2026-44194CRITICALOPNsense: RCE on user managmentEPSS 5.7%CVE-2026-25623HIGHArista Edge Threat Management NGFW UI Arbitrary Command ExecutionEPSS 5.6%CVE-2022-30603CRITICALAn OS command injection vulnerability exists in the web interface /action/iperf functionality of Abode Systems, Inc. iota All-In-One SecuritEPSS 5.6%CVE-2026-1506HIGHD-Link DIR-615 MAC Filter Configuration adv_mac_filter.php os command injectionEPSS 5.6%CVE-2021-20991CRITICALFibaro Home Center Authenticated remote command executionEPSS 5.6%CVE-2025-25038CRITICALMiniDVBLinux Root Command InjectionEPSS 5.5%