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-10442MEDIUMTenda AC9/AC15 exeCommand formexeCommand os command injectionEPSS 9.2%CVE-2023-31742HIGHThere is a command injection vulnerability in the Linksys WRT54GL router with firmware version 4.30.18.006. If an attacker gains web managemEPSS 9.1%CVE-2023-50445HIGHShell Injection vulnerability GL.iNet A1300 v4.4.6, AX1800 v4.4.6, AXT1800 v4.4.6, MT3000 v4.4.6, MT2500 v4.4.6, MT6000 v4.5.0, MT1300 v4.3.EPSS 9.1%CVE-2023-4414MEDIUMByzoro Smart S85F Management Platform decodmail.php command injectionEPSS 9.1%CVE-2026-2956MEDIUMqinming99 dst-admin restore revertBackup command injectionEPSS 8.9%CVE-2026-8188MEDIUMWavlink NU516U1 adm.cgi change_wifi_password os command injectionEPSS 8.9%CVE-2025-43953HIGHIn 2wcom IP-4c 2.16, the web interface allows admin and manager users to execute arbitrary code as root via a ping or traceroute field on thEPSS 8.9%CVE-2026-20841HIGHWindows Notepad App Remote Code Execution VulnerabilityEPSS 8.9%CVE-2025-14225MEDIUMD-Link DCS-930L alphapd setSystemAdmin command injectionEPSS 8.9%CVE-2024-3908MEDIUMTenda AC500 WriteFacMac formWriteFacMac command injectionEPSS 8.7%CVE-2026-8190MEDIUMWavlink NU516U1 adm.cgi wan os command injectionEPSS 8.7%CVE-2026-8191MEDIUMWavlink NU516U1 adm.cgi wifi_region os command injectionEPSS 8.7%CVE-2024-0920HIGHTRENDnet TEW-822DRE POST Request admin_ping.htm command injectionEPSS 8.6%CVE-2023-6634HIGHLearnPress <= 4.2.5.7 - Command InjectionEPSS 8.6%CVE-2022-26042CRITICALAn OS command injection vulnerability exists in the daretools binary functionality of InHand Networks InRouter302 V3.5.4. A specially-crafteEPSS 8.6%CVE-2024-28726HIGHAn issue in DLink DWR 2000M 5G CPE With Wifi 6 Ax1800 and Dlink DWR 5G CPE DWR-2000M_1.34ME allows a local attacker to execute arbitrary codEPSS 8.6%CVE-2026-5183MEDIUMTRENDnet TEW-713RE addRouting sub_421494 command injectionEPSS 8.5%CVE-2024-39367CRITICALAn os command injection vulnerability exists in the firewall.cgi iptablesWebsFilterRun() functionality of Wavlink AC3000 M33A8.V5030.210505.EPSS 8.5%CVE-2025-5113HIGHAuthenticated Remote Command Injection in Diviotec NBR IP CamerasEPSS 8.4%CVE-2024-39759CRITICALMultiple OS command injection vulnerabilities exist in the login.cgi set_sys_init() functionality of Wavlink AC3000 M33A8.V5030.210505. A spEPSS 8.4%