Weaknesses of type CWE-77

2,808 results

Injeção de comando por entrada não neutralizada

O software monta um comando (shell, sistema operacional ou aplicação) usando dados recebidos de fora (entrada do usuário, API, banco de dados) sem remover ou neutralizar caracteres especiais que alteram a semântica do comando. Isso permite que um atacante injete comandos arbitrários que serão executados com as permissões da aplicação.

Example

Um script PHP que executa ping com o IP fornecido pelo usuário: `system('ping ' . $_GET['ip'])`. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, porque o ponto-e-vírgula não foi escapado e o shell interpreta dois comandos sequenciais.

How to mitigate

Use APIs seguras que não envolvem interpretação de shell (ex: ProcessBuilder em Java, subprocess.run com shell=False em Python). Se imperativo usar shell, valide com whitelist rigorosa (apenas caracteres alfanuméricos/IPs válidos) e escape com funções específicas da linguagem (escapeshellarg em PHP, shlex.quote em Python).

CVE-2025-1448MEDIUMSynway SMG Gateway Management Software 9-12ping.php command injectionEPSS 2.7%CVE-2026-5104MEDIUMTotolink A3300R cstecgi.cgi setStaticRoute command injectionEPSS 2.7%CVE-2026-1625MEDIUMD-Link DWR-M961 SMS Message formSmsManage sub_4250E0 command injectionEPSS 2.7%CVE-2025-2095MEDIUMTOTOLINK EX1800T cstecgi.cgi setDmzCfg os command injectionEPSS 2.7%CVE-2025-2096MEDIUMTOTOLINK EX1800T cstecgi.cgi setRebootScheCfg os command injectionEPSS 2.7%CVE-2026-1624MEDIUMD-Link DWR-M961 formLtefotaUpgradeFibocom command injectionEPSS 2.7%CVE-2023-43206HIGHD-LINK DWL-6610 FW_v_4.3.0.8B003C was discovered to contain a command injection vulnerability in the function web_cert_download_handler. ThiEPSS 2.7%CVE-2026-7067MEDIUMD-Link DIR-822 udhcpd DHCP Service dhcpd.c system command injectionEPSS 2.7%CVE-2019-7198Command Injection Vulnerability in QTS and QuTS heroEPSS 2.7%CVE-2019-25029In Versa Director, the command injection is an attack in which the goal is execution of arbitrary commands on the host operating system via EPSS 2.7%CVE-2026-32241HIGHFlannel vulnerable to cross-node remote code execution via extension backend BackendData injectionEPSS 2.7%CVE-2026-18814HIGHH3C NX15 esps reload.reload_config command injectionEPSS 2.7%CVE-2023-43204HIGHD-LINK DWL-6610 FW_v_4.3.0.8B003C was discovered to contain a command injection vulnerability in the function sub_2EF50. This vulnerability EPSS 2.7%CVE-2023-43202HIGHD-LINK DWL-6610 FW_v_4.3.0.8B003C was discovered to contain a command injection vulnerability in the function pcap_download_handler. This vuEPSS 2.7%CVE-2023-43207HIGHD-LINK DWL-6610 FW_v_4.3.0.8B003C was discovered to contain a command injection vulnerability in the function config_upload_handler. This vuEPSS 2.7%CVE-2025-5836MEDIUMTenda AC9 POST Request SetIPTVCfg formSetIptv command injectionEPSS 2.7%CVE-2023-41029HIGHJuplink RX4-1500 Command Injection VulnerabilityEPSS 2.7%CVE-2026-10873HIGHShibby Tomato Web UI rstats rstats_path os command injectionEPSS 2.7%CVE-2026-1689MEDIUMTenda HG10 Login formLogin checkUserFromLanOrWan command injectionEPSS 2.7%CVE-2024-7443MEDIUMVivotek IB8367A upload_file.cgi getenv command injectionEPSS 2.7%