Weaknesses of type CWE-78

5,064 results

Injeção de comandos do sistema operacional

A aplicação constrói comandos do SO usando entrada do usuário sem sanitizar adequadamente, permitindo que um atacante injete comandos arbitrários. Quando a entrada contém metacaracteres (como `|`, `;`, `&&`, backticks), o shell interpreta-os como operadores, executando código não intencional com os privilégios da aplicação.

Example

Um script PHP que executa `system('ping ' . $_GET['host'])` permite um atacante passar `127.0.0.1; rm -rf /` como parâmetro, executando deleção de arquivos. Ou em Java, `Runtime.exec()` com strings concatenadas do usuário sem validação.

How to mitigate

Use APIs que não invocam shell (ex: `execvp()` em C, arrays de parâmetros em Java/Python, ou prepared commands). Se inevitável usar shell, escape rigorosamente com funções específicas (`escapeshellarg()` em PHP) ou valide contra whitelist de caracteres permitidos. Nunca confie em blacklist de caracteres perigosos.

CVE-2026-19981MEDIUMGL.iNet XE3000 Wi-Fi Timer Power-Schedule Feature os command injectionEPSS 1.8%CVE-2026-63305CRITICALAVideo through 29.0 OS Command Injection via ffmpeg.json.phpEPSS 1.8%CVE-2026-15546MEDIUMShibby Tomato start_jffs2 sub_2D568 os command injectionEPSS 1.8%CVE-2020-2029HIGHPAN-OS: OS command injection vulnerability in management interface certificate generatorEPSS 1.8%CVE-2026-15486MEDIUMTRENDnet TEW-821DAP Firmware Update tools_ddns sub_42026C os command injectionEPSS 1.8%CVE-2026-15487MEDIUMTRENDnet TEW-821DAP Firmware Update system_ntp sub_41FBD0 os command injectionEPSS 1.8%CVE-2026-19982MEDIUMGL.iNet BE9300/MT6000 Firewall-management RPC os command injectionEPSS 1.8%CVE-2026-15485MEDIUMTRENDnet TEW-821DAP DNS Lookup tools_nslookup sub_43F2C4 os command injectionEPSS 1.8%CVE-2026-15547MEDIUMShibby Tomato CIFS Mount sub_2D048 os command injectionEPSS 1.8%CVE-2026-13206CRITICALMultiple Vulnerabilities in Zyxel's WAH7601 - OS Command InjectionEPSS 1.8%CVE-2026-71376CRITICALOS Command Injection Vulnerability in Cosminexus Component ContainerEPSS 1.8%CVE-2026-7136CRITICALTotolink A8000RU CGI cstecgi.cgi setDmzCfg os command injectionEPSS 1.8%CVE-2026-7124CRITICALTotolink A8000RU CGI cstecgi.cgi setIpv6LanCfg os command injectionEPSS 1.8%CVE-2026-7152CRITICALTotolink A8000RU CGI cstecgi.cgi setTelnetCfg os command injectionEPSS 1.8%CVE-2026-7138CRITICALTotolink A8000RU CGI cstecgi.cgi setNtpCfg os command injectionEPSS 1.8%CVE-2026-7139CRITICALTotolink A8000RU CGI cstecgi.cgi setWiFiAclRules os command injectionEPSS 1.8%CVE-2026-7153CRITICALTotolink A8000RU CGI cstecgi.cgi setMiniuiHomeInfoShow os command injectionEPSS 1.8%CVE-2026-7140CRITICALTotolink A8000RU CGI cstecgi.cgi CsteSystem os command injectionEPSS 1.8%CVE-2026-7122CRITICALTotolink A8000RU CGI cstecgi.cgi setUPnPCfg os command injectionEPSS 1.8%CVE-2026-7123CRITICALTotolink A8000RU CGI cstecgi.cgi setIptvCfg os command injectionEPSS 1.8%