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-2026-4209MEDIUMD-Link DNS-1550-04 account_mgr.cgi cgi_chg_admin_pw command injectionEPSS 4.5%CVE-2026-2143HIGHD-Link DIR-823X DDNS Service set_ddns os command injectionEPSS 4.5%CVE-2026-2129HIGHD-Link DIR-823X set_ac_status os command injectionEPSS 4.5%CVE-2026-4585CRITICALTiandy Easy7 Integrated Management Platform Configuration ImportSystemConfiguration.jsp os command injectionEPSS 4.5%CVE-2024-39781CRITICALMultiple OS command injection vulnerabilities exist in the adm.cgi sch_reboot() functionality of Wavlink AC3000 M33A8.V5030.210505. A speciaEPSS 4.5%CVE-2024-39783CRITICALMultiple OS command injection vulnerabilities exist in the adm.cgi sch_reboot() functionality of Wavlink AC3000 M33A8.V5030.210505. A speciaEPSS 4.5%CVE-2026-2061MEDIUMD-Link DIR-823X set_ipv6 sub_424D20 os command injectionEPSS 4.5%CVE-2026-8259MEDIUMTenda AC6 httpd telnet os command injectionEPSS 4.4%CVE-2026-76698MEDIUMAuthenticated Command Injection Vulnerability leads to Denial-of-Service in HPE Networking EdgeConnect SD-WAN GatewaysEPSS 4.4%CVE-2025-15391MEDIUMD-Link DIR-806A SSDP Request ssdpcgi_main command injectionEPSS 4.4%CVE-2023-51833HIGHA command injection issue in TRENDnet TEW-411BRPplus v.2.07_eu that allows a local attacker to execute arbitrary code via the data1 parameteEPSS 4.4%CVE-2020-8233A command injection vulnerability exists in EdgeSwitch firmware <v1.9.0 that allowed an authenticated read-only user to execute arbitrary shEPSS 4.4%CVE-2026-8265MEDIUMTenda AC6 httpd getLogFile get_log_file os command injectionEPSS 4.4%CVE-2024-0291MEDIUMTotolink LR1200GB cstecgi.cgi UploadFirmwareFile command injectionEPSS 4.4%CVE-2026-2118HIGHUTT HiPER 810 rehttpd formReleaseConnect sub_4407D4 command injectionEPSS 4.4%CVE-2024-48841CRITICALRemote Code Execution (RCE) VulnerabilitiesEPSS 4.4%CVE-2026-2135MEDIUMUTT HiPER 810 formPdbUpConfig sub_43F020 command injectionEPSS 4.4%CVE-2025-52053CRITICALTOTOLINK X6000R V9.4.0cu.1360_B20241207 was found to contain a command injection vulnerability in the sub_417D74 function via the file_name EPSS 4.4%CVE-2025-8752MEDIUMwangzhixuan spring-shiro-training add command injectionEPSS 4.4%CVE-2024-11046MEDIUMD-Link DI-8003 upgrade_filter.asp upgrade_filter_asp os command injectionEPSS 4.4%