Weaknesses of type CWE-78

4,591 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-19035HIGHShibby Tomato qoslimit new_qoslimit_start os command injectionEPSS 3.2%CVE-2026-92397CRITICALRuijie RG-EW3000GX configChange unifyframe-sgi.elf cc_set os command injectionEPSS 3.2%CVE-2026-19034HIGHShibby Tomato qoslimittc_stop.sh new_qoslimit_stop os command injectionEPSS 3.2%CVE-2026-19036HIGHShibby Tomato wanoptions sub_40F88C os command injectionEPSS 3.2%CVE-2026-75094CRITICALCOMFAST CF-N1-S CGI mbox-config sub_44B438 os command injectionEPSS 3.2%CVE-2019-14889HIGHA flaw was found with the libssh API function ssh_scp_new() in versions before 0.9.3 and before 0.8.8. When the libssh SCP client connects tEPSS 3.2%CVE-2022-50793HIGHSOUND4 IMPACT/FIRST/PULSE/Eco <=2.x Authenticated Command Injection via www-data-handler.phpEPSS 3.2%CVE-2026-27190HIGHDeno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_processEPSS 3.2%CVE-2026-71953CRITICALD-Link DWR-M961 Command Injection via /boafrm/formNtpEPSS 3.2%CVE-2026-71952CRITICALD-Link DWR-M961 Command Injection via /boafrm/formPinManageSetupEPSS 3.2%CVE-2026-71948CRITICALD-Link DWR-M961 Command Injection via /boafrm/formDebugDiagnosticRunEPSS 3.2%CVE-2026-89010CRITICALWAVLINK WN535M1/WN535M3 Unauthenticated OS Command Injection via sync_serverEPSS 3.2%CVE-2026-71956CRITICALD-Link DWR-M961 Command Injection via app.cgiEPSS 3.2%CVE-2026-71951CRITICALD-Link DWR-M961 Command Injection via /boafrm/formIMEISetupEPSS 3.2%CVE-2026-71955CRITICALD-Link DWR-M961 Command Injection via /boafrm/formWscEPSS 3.2%CVE-2026-71950CRITICALD-Link DWR-M961 Command Injection via /boafrm/formSmsManageEPSS 3.2%CVE-2026-71954CRITICALD-Link DWR-M961 Command Injection via /boafrm/formL2tpv3ConfigSetupEPSS 3.2%CVE-2026-71947CRITICALD-Link DWR-M961 Command Injection via /boafrm/formTracerouteDiagnosticRunEPSS 3.2%CVE-2026-71946CRITICALD-Link DWR-M961 Command Injection via /boafrm/formPingDiagnosticRunEPSS 3.2%CVE-2026-71949CRITICALD-Link DWR-M961 Command Injection via /boafrm/formUSSDSetupEPSS 3.2%