Weaknesses of type CWE-78

4,601 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-36044HIGH@pensar/apex <= 0.0.58 is vulnerable to OS command injection via the smart_enumerate tool. The createSmartEnumerateTool() function in src/coEPSS 2.4%CVE-2022-24377HIGHCommand InjectionEPSS 2.4%CVE-2026-30303CRITICALThe command auto-approval module in Axon Code contains an OS Command Injection vulnerability, rendering its whitelist security mechanism ineEPSS 2.4%CVE-2020-37027CRITICALSickbeard 0.1 - Remote Command InjectionEPSS 2.4%CVE-2012-10040CRITICALOpenfiler v2.x NetworkCard Command ExecutionEPSS 2.4%CVE-2021-32772HIGHImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in helper_entriesEPSS 2.4%CVE-2012-10039CRITICALZEN Load Balancer Filelog Command ExecutionEPSS 2.4%CVE-2026-22226HIGHCommand Injection Vulnerability on TP-Link Archer BE230 and AX73EPSS 2.4%CVE-2026-35585HIGHFile Browser has a Command Injection via Hook RunnerEPSS 2.4%CVE-2022-42140HIGHDelta Electronics DX-2100-L1-CN 2.42 is vulnerable to Command Injection via lform/net_diagnose.EPSS 2.4%CVE-2025-56082HIGHOS Command Injection vulnerability in Ruijie RG-BCR RG-BCR600W allowing attackers to execute arbitrary commands via a crafted POST request tEPSS 2.4%CVE-2026-5528MEDIUMMoussaabBadla code-screenshot-mcp HTTP os command injectionEPSS 2.4%CVE-2018-13285HIGHCommand injection vulnerability in ftpd in Synology Router Manager (SRM) before 1.1.7-6941-1 allows remote authenticated users to execute arEPSS 2.4%CVE-2026-76060HIGHOS Command Injection in PayRange APIEPSS 2.4%CVE-2020-7034HIGHCommand injection in Avaya Session Border Controller for EnterpriseEPSS 2.4%CVE-2025-7154MEDIUMTOTOLINK N200RE cstecgi.cgi sub_41A0F8 os command injectionEPSS 2.4%CVE-2021-36023CRITICALMagento Commerce Widgets Update Layout XML Injection Vulnerability Could Lead To Remote Code ExecutionEPSS 2.4%CVE-2023-29805CRITICALWFS-SR03 v1.0.3 was discovered to contain a command injection vulnerability via the pro_stor_canceltrans_handler_part_19 function.EPSS 2.4%CVE-2025-15379CRITICALCommand Injection in mlflow/mlflowEPSS 2.4%CVE-2023-51698CRITICALAtril's CBT comic book parsing vulnerable to Remote Code ExecutionEPSS 2.4%