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-10871HIGHShibby Tomato Web UI rc start_6rd_tunnel os command injectionEPSS 2.2%CVE-2026-10870HIGHShibby Tomato Web UI rc start_dhcpc os command injectionEPSS 2.2%CVE-2026-73172CRITICALNozomi Networks Labs identified a CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulneraEPSS 2.2%CVE-2025-15061CRITICALFramelink Figma MCP Server fetchWithRetry Command Injection Remote Code Execution VulnerabilityEPSS 2.2%CVE-2026-2629MEDIUMjishi node-sonos-http-api TTS Provider mac-os.js Promise os command injectionEPSS 2.2%CVE-2022-3275HIGHPuppetlabs-apt Command InjectionEPSS 2.2%CVE-2025-9972CRITICALPlanet Technology|Industrial Cellular Gateway - OS Command InjectionEPSS 2.2%CVE-2022-45043HIGHTenda AX12 V22.03.01.16_cn is vulnerable to command injection via goform/fast_setting_internet_set.EPSS 2.2%CVE-2023-22365HIGHAn OS command injection vulnerability exists in the ys_thirdparty check_system_user functionality of Milesight UR32L v32.3.0.5. A specially EPSS 2.2%CVE-2026-82678MEDIUMdiem-project diem Administrative Console actions.class.php executeCommand os command injectionEPSS 2.2%CVE-2026-90788MEDIUMmagicblack MacCMS10 Template .%40template%40default%40html%40label.html os command injectionEPSS 2.2%CVE-2022-0365CRITICALRicon Mobile, Inc.EPSS 2.2%CVE-2024-21756HIGHA improper neutralization of special elements used in an os command ('os command injection') vulnerability in Fortinet FortiSandbox 4.4.0 thEPSS 2.2%CVE-2026-7816HIGHpgAdmin 4: OS command injection in Import/Export query export via psql metacommand breakoutEPSS 2.2%CVE-2026-82668MEDIUMklaussilveira GitList Git Command Line CommandLine.php getDefaultBranch os command injectionEPSS 2.2%CVE-2026-90843MEDIUMSabyasachiRana WebMap New Nmap Scan functions_nmap.py nmap_newscan os command injectionEPSS 2.2%CVE-2026-7446MEDIUMVetCoders mcp-server-semgrep MCP index.ts create_rule os command injectionEPSS 2.2%CVE-2026-24663CRITICALCopeland XWEB and XWEB Pro OS Command InjectionEPSS 2.2%CVE-2024-32351HIGHTOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain an authenticated remote command execution (RCE) vulnerability via the "mruEPSS 2.2%CVE-2021-41243CRITICALOS Command Injection Vulnerability and Potential Zip Slip VulnerabilityEPSS 2.2%