Fallos del tipo CWE-77

2809 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-2023-51887CRITICALCommand Injection vulnerability in Mathtex v.1.05 and before allows a remote attacker to execute arbitrary code via crafted string in applicEPSS 2.5%CVE-2026-92398CRITICALRuijie RG-EW3000GX user_list_note admin os command injectionEPSS 2.5%CVE-2024-41316CRITICALTOTOLINK A6000R V1.0.1-B20201211.2000 was discovered to contain a command injection vulnerability via the ifname parameter in the apcli_cancEPSS 2.5%CVE-2026-7687MEDIUMlangflow-ai langflow Full Builtins code_parser.py CodeParser.parse_callable_details command injectionEPSS 2.5%CVE-2021-22864—Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise ServerEPSS 2.5%CVE-2026-86148CRITICALTenda CP3 Kylin system.c SystemAsh os command injectionEPSS 2.5%CVE-2026-5974MEDIUMFoundationAgents MetaGPT terminal.py Bash.run os command injectionEPSS 2.5%CVE-2018-0454—Cisco Cloud Services Platform 2100 Command Injection VulnerabilityEPSS 2.5%CVE-2026-5020MEDIUMTotolink A3600R Parameter cstecgi.cgi setNoticeCfg command injectionEPSS 2.5%CVE-2019-12629MEDIUMCisco SD-WAN vManage Command Injection VulnerabilityEPSS 2.5%CVE-2026-7242CRITICALTotolink A8000RU CGI cstecgi.cgi setOpenVpnClientCfg os command injectionEPSS 2.5%CVE-2026-7243CRITICALTotolink A8000RU CGI cstecgi.cgi setRadvdCfg os command injectionEPSS 2.4%CVE-2026-7202CRITICALTotolink A8000RU CGI cstecgi.cgi setWiFiWpsStart os command injectionEPSS 2.4%CVE-2026-7204CRITICALTotolink A8000RU CGI cstecgi.cgi setPptpServerCfg os command injectionEPSS 2.4%CVE-2026-7241CRITICALTotolink A8000RU CGI cstecgi.cgi setWiFiBasicCfg os command injectionEPSS 2.4%CVE-2026-7203CRITICALTotolink A8000RU CGI cstecgi.cgi setUrlFilterRules os command injectionEPSS 2.4%CVE-2024-48904CRITICALAn command injection vulnerability in Trend Micro Cloud Edge could allow a remote attacker to execute arbitrary code on affected appliances.EPSS 2.4%CVE-2024-31485HIGHA vulnerability has been identified in CPCI85 Central Processing/Communication (All versions < V5.30), SICORE Base system (All versions < V1EPSS 2.4%CVE-2024-41318CRITICALTOTOLINK A6000R V1.0.1-B20201211.2000 was discovered to contain a command injection vulnerability via the ifname parameter in the apcli_wps_EPSS 2.4%CVE-2026-7240CRITICALTotolink A8000RU CGI cstecgi.cgi setVpnAccountCfg os command injectionEPSS 2.4%