Weaknesses of type CWE-78

5,020 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-71949CRITICALD-Link DWR-M961 Command Injection via /boafrm/formUSSDSetupEPSS 3.2%CVE-2026-89010CRITICALWAVLINK WN535M1/WN535M3 Unauthenticated OS Command Injection via sync_serverEPSS 3.2%CVE-2026-71947CRITICALD-Link DWR-M961 Command Injection via /boafrm/formTracerouteDiagnosticRunEPSS 3.2%CVE-2026-71945CRITICALD-Link DWR-M961 Command Injection via /boafrm/formLtefotaUpgradeFibocomEPSS 3.2%CVE-2026-71951CRITICALD-Link DWR-M961 Command Injection via /boafrm/formIMEISetupEPSS 3.2%CVE-2026-71948CRITICALD-Link DWR-M961 Command Injection via /boafrm/formDebugDiagnosticRunEPSS 3.2%CVE-2026-71946CRITICALD-Link DWR-M961 Command Injection via /boafrm/formPingDiagnosticRunEPSS 3.2%CVE-2026-71956CRITICALD-Link DWR-M961 Command Injection via app.cgiEPSS 3.2%CVE-2026-15027HIGHChanging|CGServiSign - OS Command InjectionEPSS 3.2%CVE-2026-33475CRITICALLangflow GitHub Actions Shell InjectionEPSS 3.2%CVE-2025-56093HIGHOS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted POSTEPSS 3.2%CVE-2017-16602—This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of NetGain Systems Enterprise Manager 7.2.7EPSS 3.2%CVE-2022-48107CRITICALD-Link DIR_878_FW1.30B08 was discovered to contain a command injection vulnerability via the component /setnetworksettings/IPAddress. This vEPSS 3.1%CVE-2022-48108CRITICALD-Link DIR_878_FW1.30B08 was discovered to contain a command injection vulnerability via the component /SetNetworkSettings/SubnetMask. This EPSS 3.1%CVE-2025-20292MEDIUMCisco NXOS Software Command Injection VulnerabilityEPSS 3.1%CVE-2026-102114HIGHKiteworks Core OS Command InjectionEPSS 3.1%CVE-2025-56127HIGHOS Command Injection vulnerability in Ruijie RG-BCR RG-BCR600W allowing attackers to execute arbitrary commands via a crafted POST request tEPSS 3.1%CVE-2022-50793HIGHSOUND4 IMPACT/FIRST/PULSE/Eco <=2.x Authenticated Command Injection via www-data-handler.phpEPSS 3.1%CVE-2026-25857HIGHTenda G300-F Command Injection via formSetWanDiagEPSS 3.1%CVE-2025-24971CRITICALOS Command Injection endpoint '/upload/init' parameter 'filename' (RCE) in DumpDropEPSS 3.1%