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-2022-21668HIGHPipenv's requirements.txt parsing allows malicious index url in commentsEPSS 3.9%CVE-2024-45257HIGHA Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbitrary commands on thEPSS 3.9%CVE-2020-8171We have recently released new version of AirMax AirOS firmware v6.3.0 for TI, XW and XM boards that fixes vulnerabilities found on AirMax AiEPSS 3.9%CVE-2023-31473MEDIUMAn issue was discovered on GL.iNet devices before 3.216. There is an arbitrary file write in which an empty file can be created anywhere on EPSS 3.9%CVE-2018-16461A command injection vulnerability in libnmapp package for versions <0.4.16 allows arbitrary commands to be executed via arguments to the ranEPSS 3.9%CVE-2023-0611HIGHTRENDnet TEW-652BRP Web Management Interface get_set.ccp command injectionEPSS 3.9%CVE-2025-4350HIGHD-Link DIR-600L wake_on_lan command injectionEPSS 3.9%CVE-2025-4349HIGHD-Link DIR-600L formSysCmd command injectionEPSS 3.9%CVE-2026-4205MEDIUMD-Link DNS-1550-04 app_mgr.cgi FTP_Server_BlockIP_Del command injectionEPSS 3.8%CVE-2026-4195MEDIUMD-Link DNS-1550-04 wizard_mgr.cgi command injectionEPSS 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-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-2024-23346CRITICALpymatgen arbitrary code execution when parsing a maliciously crafted JonesFaithfulTransformation transformation_stringEPSS 3.8%CVE-2026-3102MEDIUMexiftool PNG File MacOS.pm SetMacOSTags os command injectionEPSS 3.8%CVE-2025-15256MEDIUMEdimax BR-6208AC Web-based Configuration formStaDrvSetup command injectionEPSS 3.8%CVE-2025-7553MEDIUMD-Link DIR-818LW System Time Page os command injectionEPSS 3.8%CVE-2025-15254MEDIUMTenda W6-S ATE Service ate TendaAte os command injectionEPSS 3.8%CVE-2022-29184HIGHCommand Injection/Argument Injection in GoCDEPSS 3.8%CVE-2025-11141MEDIUMRuijie NBR2100G-E branch_passw.php listAction os command injectionEPSS 3.8%CVE-2025-10107MEDIUMTRENDnet TEW-831DR formSysCmd command injectionEPSS 3.8%