Weaknesses of type CWE-77

2,962 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-2021-37708HIGHCommand injection in mail agent settingsEPSS 2.4%CVE-2025-6102HIGHWifi-soft UniBox Controller logout.php os command injectionEPSS 2.4%CVE-2026-94095CRITICALNetcore NBR200V2 Traceroute Diagnostic Feature network_tools command injectionEPSS 2.4%CVE-2025-1370MEDIUMMicroWorld eScan Antivirus Autoscan USB epsdaemon sprintf os command injectionEPSS 2.4%CVE-2020-23583CRITICALOPTILINK OP-XT71000N V2.2 is vulnerable to Remote Code Execution. The issue occurs when the attacker sends an arbitrary code on "/diag_ping_EPSS 2.4%CVE-2024-21880HIGHURL parameter manipulations allows an authenticated attacker to execute arbitrary OS commands in Enphase IQ Gateway version 4.x <= 7.xEPSS 2.4%CVE-2026-81048CRITICALDell ThinOS 10, versions prior to 2605_10.2616, contain an Improper Neutralization of Special Elements used in a Command ('Command InjectionEPSS 2.4%CVE-2026-39866HIGHLawnchair vulnerable to Command Injection via unquoted workflow dispatch input in release_update.ymlEPSS 2.3%CVE-2021-38542—Apache James vulnerable to STARTTLS command injection (IMAP and POP3)EPSS 2.3%CVE-2022-45600HIGHAztech WMB250AC Mesh Routers Firmware Version 016 2020 devices improperly manage sessions, which allows remote attackers to bypass authenticEPSS 2.3%CVE-2023-6848HIGHkalcaddle kodbox index.class.php check command injectionEPSS 2.3%CVE-2024-51442HIGHCommand Injection in Minidlna version v1.3.3 and before allows an attacker to execute arbitrary OS commands via a specially crafted minidlnaEPSS 2.3%CVE-2021-1443MEDIUMCisco IOS XE Software Web UI OS Command Injection VulnerabilityEPSS 2.3%CVE-2026-101260CRITICALZiroom ZHOME A0101 firstLogin command injectionEPSS 2.3%CVE-2025-6897MEDIUMD-Link DI-7300G+ httpd_debug.asp os command injectionEPSS 2.3%CVE-2026-101264CRITICALZiroom ZHOME A0101 set_passwd command injectionEPSS 2.3%CVE-2026-101008CRITICALaaPanel BaoTa File Merge files.py merge_split_file command injectionEPSS 2.3%CVE-2026-101187CRITICALZiroom ZHOME A0101 USB Device Management API zrUsb.lua pop_usb_device command injectionEPSS 2.3%CVE-2026-101263CRITICALZiroom ZHOME A0101 set_online_client command injectionEPSS 2.3%CVE-2026-38710HIGHTR1200 v2.4.15 and TR3000 v2.4.21 were discovered to contain a command injection vulnerability in the system.setclock interface. This vulnerEPSS 2.3%