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-2023-0611HIGHTRENDnet TEW-652BRP Web Management Interface get_set.ccp command injectionEPSS 3.9%CVE-2024-23346CRITICALpymatgen arbitrary code execution when parsing a maliciously crafted JonesFaithfulTransformation transformation_stringEPSS 3.8%CVE-2023-23295HIGHKorenix Jetwave 4200 Series 1.3.0 and JetWave 3000 Series 1.6.0 are vulnerable to Command Injection via /goform/formSysCmd. An attacker an mEPSS 3.8%CVE-2024-39782CRITICALMultiple OS command injection vulnerabilities exist in the adm.cgi sch_reboot() functionality of Wavlink AC3000 M33A8.V5030.210505. A speciaEPSS 3.8%CVE-2025-11138MEDIUMmirweiye wenkucms common.php createPathOne os command injectionEPSS 3.8%CVE-2026-18902HIGHH3C NX15 esps repeaterproc command injectionEPSS 3.8%CVE-2026-18900HIGHH3C NX15 Backend RPC esps file.exec os command injectionEPSS 3.8%CVE-2025-60697HIGHA command injection vulnerability exists in the D-Link DIR-882 Router firmware DIR882A1_FW102B02 within the `prog.cgi` and `rc` binaries. ThEPSS 3.8%CVE-2020-36529HIGHSevOne Network Management System Traceroute traceroute.php command injectionEPSS 3.8%CVE-2026-1802MEDIUMZiroom ZHOME A0101 zrMacClone.lua macAddrClone command injectionEPSS 3.8%CVE-2026-1544MEDIUMD-Link DIR-823X set_mode sub_41E2A0 os command injectionEPSS 3.8%CVE-2025-14659HIGHD-Link DIR-860LB1/DIR-868LB1 DHCP command injectionEPSS 3.8%CVE-2026-2168MEDIUMD-Link DWR-M921 formLtefotaUpgradeQuectel sub_419920 command injectionEPSS 3.8%CVE-2025-5606MEDIUMTenda AC18 SetIPTVCfg formSetIptv command injectionEPSS 3.8%CVE-2025-15256MEDIUMEdimax BR-6208AC Web-based Configuration formStaDrvSetup command injectionEPSS 3.8%CVE-2025-11097MEDIUMD-Link DIR-823X set_device_name command injectionEPSS 3.8%CVE-2025-11099MEDIUMD-Link DIR-823X delete_prohibiting uci_del command injectionEPSS 3.8%CVE-2025-11096MEDIUMD-Link DIR-823X diag_traceroute command injectionEPSS 3.8%CVE-2025-11092MEDIUMD-Link DIR-823X set_switch_settings sub_412E7C command injectionEPSS 3.8%CVE-2026-2178MEDIUMr-huijts xcode-mcp-server run_lldb index.ts registerXcodeTools command injectionEPSS 3.7%