Weaknesses of type CWE-78

5,019 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-2025-1536MEDIUMRaisecom Multi-Service Intelligent Gateway Request Parameter vpn_template_style.php os command injectionEPSS 3.2%CVE-2025-56819CRITICALAn issue in Datart v.1.0.0-rc.3 allows a remote attacker to execute arbitrary code via the INIT connection parameter.EPSS 3.2%CVE-2023-50381HIGHThree os command injection vulnerabilities exist in the boa formWsc functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially craftedEPSS 3.2%CVE-2017-10953—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Foxit Reader 8.3.0.14878. User interactiEPSS 3.2%CVE-2020-3332HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Series Routers Command Shell Injection VulnerabilityEPSS 3.2%CVE-2026-19036HIGHShibby Tomato wanoptions sub_40F88C os command injectionEPSS 3.2%CVE-2026-92398CRITICALRuijie RG-EW3000GX user_list_note admin os command injectionEPSS 3.2%CVE-2026-92397CRITICALRuijie RG-EW3000GX configChange unifyframe-sgi.elf cc_set os command injectionEPSS 3.2%CVE-2026-19035HIGHShibby Tomato qoslimit new_qoslimit_start os command injectionEPSS 3.2%CVE-2026-75094CRITICALCOMFAST CF-N1-S CGI mbox-config sub_44B438 os command injectionEPSS 3.2%CVE-2026-19034HIGHShibby Tomato qoslimittc_stop.sh new_qoslimit_stop os command injectionEPSS 3.2%CVE-2026-8264MEDIUMTenda AC6 httpd WifiApScan formWifiApScan 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-2026-2544MEDIUMyued-fe LuLu UI run.js child_process.exec os command injectionEPSS 3.2%CVE-2026-71950CRITICALD-Link DWR-M961 Command Injection via /boafrm/formSmsManageEPSS 3.2%CVE-2026-71956CRITICALD-Link DWR-M961 Command Injection via app.cgiEPSS 3.2%CVE-2026-71949CRITICALD-Link DWR-M961 Command Injection via /boafrm/formUSSDSetupEPSS 3.2%CVE-2026-71954CRITICALD-Link DWR-M961 Command Injection via /boafrm/formL2tpv3ConfigSetupEPSS 3.2%CVE-2026-71952CRITICALD-Link DWR-M961 Command Injection via /boafrm/formPinManageSetupEPSS 3.2%CVE-2026-71944CRITICALD-Link DWR-M961 Command Injection via /boafrm/formLtefotaUpgradeQuectelEPSS 3.2%