Weaknesses of type CWE-77

2,960 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-2026-4611HIGHTOTOLINK X6000R shttpd setLanCfg privilege escalationEPSS 3.1%CVE-2024-7158MEDIUMTOTOLINK A3100R HTTP POST Request cstecgi.cgi setTelnetCfg command injectionEPSS 3.1%CVE-2024-7181MEDIUMTOTOLINK A3600R cstecgi.cgi setTelnetCfg command injectionEPSS 3.1%CVE-2024-46256CRITICALA Command injection vulnerability in requestLetsEncryptSsl in NginxProxyManager 2.11.3 allows an attacker to RCE via Add Let's Encrypt CertiEPSS 3.1%CVE-2020-2507CRITICALcommand injection vulnerability in HelpdeskEPSS 3.1%CVE-2026-110957CRITICALWavlink WL-WN530BE2-A Login Processing api.cgi sub_12580 os command injectionEPSS 3.1%CVE-2026-19747CRITICALTenda CH7 ATE Module Kylin HandleCmd command injectionEPSS 3.1%CVE-2023-31746CRITICALThere is a command injection vulnerability in the adslr VW2100 router with firmware version M1DV1.0. An unauthenticated attacker can exploitEPSS 3.1%CVE-2023-31569CRITICALTOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain a command injection via the setWanCfg function.EPSS 3.1%CVE-2023-0648MEDIUMdst-admin masterConsole command injectionEPSS 3.1%CVE-2022-44621CRITICALApache Kylin: Command injection by Diagnosis ControllerEPSS 3.1%CVE-2026-6025CRITICALTotolink A7100RU CGI cstecgi.cgi setSyslogCfg os command injectionEPSS 3.1%CVE-2024-2352MEDIUM1Panel swap baseApi.UpdateDeviceSwap command injectionEPSS 3.0%CVE-2026-102792CRITICALZiroom ZHOME A0101 set_syslog command injectionEPSS 3.0%CVE-2026-1413MEDIUMSangfor Operation and Maintenance Security Management System HTTP POST Request port_validate portValidate command injectionEPSS 3.0%CVE-2026-1149MEDIUMTotolink LR350 POST Request cstecgi.cgi setDiagnosisCfg command injectionEPSS 3.0%CVE-2026-1547MEDIUMTotolink A7000R cstecgi.cgi setUnloadUserData command injectionEPSS 3.0%CVE-2026-6026CRITICALTotolink A7100RU CGI cstecgi.cgi setPortalConfWeChat os command injectionEPSS 3.0%CVE-2026-6028CRITICALTotolink A7100RU CGI cstecgi.cgi setPptpServerCfg os command injectionEPSS 3.0%CVE-2026-6029CRITICALTotolink A7100RU CGI cstecgi.cgi setVpnAccountCfg os command injectionEPSS 3.0%