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-2025-8752MEDIUMwangzhixuan spring-shiro-training add command injectionEPSS 4.3%CVE-2026-4466MEDIUMComfast CF-AC100 mbox-config command injectionEPSS 4.3%CVE-2025-11491MEDIUMwonderwhy-er DesktopCommanderMCP command-manager.ts CommandManager os command injectionEPSS 4.3%CVE-2025-9262MEDIUMwong2 mcp-cli oAuth provider.js redirectToAuthorization os command injectionEPSS 4.3%CVE-2026-1412MEDIUMSangfor Operation and Maintenance Security Management System HTTP POST Request get_clip_img command injectionEPSS 4.3%CVE-2024-39764CRITICALMultiple OS command injection vulnerabilities exist in the internet.cgi set_add_routing() functionality of Wavlink AC3000 M33A8.V5030.210505EPSS 4.3%CVE-2026-4196MEDIUMD-Link DNS-1550-04 remote_backup.cgi cgi_set_rsync_server command injectionEPSS 4.3%CVE-2019-1624HIGHCisco SD-WAN Solution Command Injection VulnerabilityEPSS 4.3%CVE-2026-101261CRITICALZiroom ZHOME A0101 firstSetup_wifi command injectionEPSS 4.2%CVE-2025-4349HIGHD-Link DIR-600L formSysCmd command injectionEPSS 4.2%CVE-2025-4350HIGHD-Link DIR-600L wake_on_lan command injectionEPSS 4.2%CVE-2018-5439—A Command Injection issue was discovered in Nortek Linear eMerge E3 series Versions V0.32-07e and prior. A remote attacker may be able to exEPSS 4.2%CVE-2025-7192MEDIUMD-Link DIR-645 ssdpcgi cgibin ssdpcgi_main command injectionEPSS 4.2%CVE-2025-11138MEDIUMmirweiye wenkucms common.php createPathOne os command injectionEPSS 4.2%CVE-2024-38228HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 4.2%CVE-2025-15391MEDIUMD-Link DIR-806A SSDP Request ssdpcgi_main command injectionEPSS 4.2%CVE-2025-9026MEDIUMD-Link DIR-860L Simple Service Discovery Protocol cgibin ssdpcgi_main os command injectionEPSS 4.2%CVE-2025-59831HIGH`git-comiters` Command Injection vulnerabilityEPSS 4.2%CVE-2022-40282HIGHThe web server of Hirschmann BAT-C2 before 09.13.01.00R04 allows authenticated command injection. This allows an authenticated attacker to pEPSS 4.2%CVE-2022-4364MEDIUMTeledyne FLIR AX8 Web Service palette.php command injectionEPSS 4.2%