Weaknesses of type CWE-77

2,948 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-7788MEDIUMXuxueli xxl-job SampleXxlJob.java commandJobHandler os command injectionEPSS 4.9%CVE-2026-79697CRITICALAdvantech WISE-6610-NB Basic Station Certificate-Deletion basicstation_apply command injectionEPSS 4.9%CVE-2026-2118HIGHUTT HiPER 810 rehttpd formReleaseConnect sub_4407D4 command injectionEPSS 4.9%CVE-2026-2135MEDIUMUTT HiPER 810 formPdbUpConfig sub_43F020 command injectionEPSS 4.9%CVE-2026-8259MEDIUMTenda AC6 httpd telnet os command injectionEPSS 4.9%CVE-2018-3746—The pdfinfojs NPM module versions <= 0.3.6 has a command injection vulnerability that allows an attacker to execute arbitrary commands on thEPSS 4.9%CVE-2026-8265MEDIUMTenda AC6 httpd getLogFile get_log_file os command injectionEPSS 4.8%CVE-2025-9582MEDIUMComfast CF-N1 webmgnt ntp_timezone command injectionEPSS 4.8%CVE-2025-9581MEDIUMComfast CF-N1 webmgnt multi_pppoe command injectionEPSS 4.8%CVE-2026-1414MEDIUMSangfor Operation and Maintenance Security Management System HTTP POST Request get_Information getInformation command injectionEPSS 4.8%CVE-2022-4616HIGHThe webserver in Delta DX-3021 versions prior to 1.24 is vulnerable to command injection through the network diagnosis page. This vulnerabiEPSS 4.8%CVE-2025-5439MEDIUMLinksys RE6500/RE6250/RE6300/RE6350/RE7000/RE9000 verifyFacebookLike os command injectionEPSS 4.8%CVE-2025-5440MEDIUMLinksys RE6500/RE6250/RE6300/RE6350/RE7000/RE9000 NTP os command injectionEPSS 4.8%CVE-2025-6899MEDIUMD-Link DI-7300G+/DI-8200G msp_info.htm os command injectionEPSS 4.8%CVE-2026-18686CRITICALGL.iNet GL-MT3000 nas-web RPC Wrapper glc nas-web.add_user command injectionEPSS 4.7%CVE-2026-15511CRITICALComfast CF-WR631AX V3 FastCGI Backend webmgnt system_wl_upload_pic_file os command injectionEPSS 4.7%CVE-2026-79941MEDIUMDell SCG 5.0 Appliance versions prior to 5.36.00.16 and Dell SCG 5.0 Application versions prior to 5.36.00.00, contains an Improper NeutraliEPSS 4.7%CVE-2024-7616MEDIUMEdimax IC-6220DC/IC-5150W ipcam_cgi cgiFormString command injectionEPSS 4.7%CVE-2026-1690MEDIUMTenda HG10 formSysCmd system command injectionEPSS 4.7%CVE-2024-7833MEDIUMD-Link DI-8100 upgrade_filter.asp upgrade_filter_asp command injectionEPSS 4.7%