Weaknesses of type CWE-78

5,061 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-56808HIGHDGM3103SCT provided by AVTECH Security Corporation contains an OS command injection vulnerability, which may lead to arbitrary command execuEPSS 2.5%CVE-2024-21755HIGHA improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiSandbox 4.4.0 thEPSS 2.5%CVE-2026-119409HIGHOPNsense before 26.7.8 Root Command Injection via Firmware Mirror SettingEPSS 2.5%CVE-2026-84278HIGHIBM Guardium Data Protection Command InjectionEPSS 2.5%CVE-2026-116779CRITICALFreeSWITCH: Inbound SIP MESSAGE can select the api chat proto and run FreeSWITCH API commandsEPSS 2.5%KEVCVE-2023-38208CRITICALValidate Your Inputs | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)EPSS 2.5%CVE-2022-25171HIGHCommand InjectionEPSS 2.5%CVE-2022-45506CRITICALTenda W30E v1.0.1.25(633) was discovered to contain a command injection vulnerability via the fileNameMit parameter at /goform/delFileName.EPSS 2.5%CVE-2022-45497CRITICALTenda W6-S v1.0.0.4(510) was discovered to contain a command injection vulnerability in the tpi_get_ping_output function at /goform/exeCommaEPSS 2.5%CVE-2026-66297MEDIUMUnescaped deployment environment variables in generated setup commandsEPSS 2.5%CVE-2026-22226HIGHCommand Injection Vulnerability on TP-Link Archer BE230 and AX73EPSS 2.5%CVE-2026-71985CRITICALMSI Radix AXE6600 v781521 Command Injection via accesscontrol FunctionEPSS 2.5%CVE-2026-71983CRITICALMSI Radix AXE6600 v781521 Command Injection via wps.cgiEPSS 2.5%CVE-2026-71987CRITICALMSI Radix AXE6600 v781521 Command Injection via alg functionEPSS 2.5%CVE-2026-71990CRITICALMSI Radix AXE6600 v781521 Command Injection via TelnetSSH FunctionEPSS 2.5%CVE-2026-71986CRITICALMSI Radix AXE6600 v781521 Command Injection via dmz FunctionEPSS 2.5%CVE-2026-71984CRITICALMSI Radix AXE6600 v781521 Command Injection via urlfilterEPSS 2.5%CVE-2026-71989CRITICALMSI Radix AXE6600 v781521 Command Injection via porTrigger functionEPSS 2.5%CVE-2026-71988CRITICALMSI Radix AXE6600 v781521 Command Injection via portFw functionEPSS 2.5%CVE-2026-71993CRITICALMSI Radix AXE6600 v781521 Command Injection via openvpn functionEPSS 2.5%