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-71921CRITICALDrayTek VigorSwitch Multiple Models Pre-Authentication OS Command Injection via setget.cgiEPSS 2.8%CVE-2026-11410HIGHOS Command Injection in BigPond Cable (BPA) Configuration in TP-Link TL-WR940NEPSS 2.8%CVE-2026-11409HIGHOS Command Injection in IPv6 PPPoE Configuration in TP-Link TL-WR940NEPSS 2.8%CVE-2021-21877CRITICALSpecially-crafted HTTP requests can lead to arbitrary command execution in “GET” requests. An attacker can make authenticated HTTP requests EPSS 2.8%CVE-2021-21876CRITICALSpecially-crafted HTTP requests can lead to arbitrary command execution in PUT requests. An attacker can make authenticated HTTP requests toEPSS 2.8%CVE-2025-2095MEDIUMTOTOLINK EX1800T cstecgi.cgi setDmzCfg os command injectionEPSS 2.8%CVE-2025-2096MEDIUMTOTOLINK EX1800T cstecgi.cgi setRebootScheCfg os command injectionEPSS 2.8%CVE-2022-44928CRITICALD-Link DVG-G5402SP GE_1.03 was discovered to contain a command injection vulnerability via the Maintenance function.EPSS 2.8%CVE-2021-26724HIGHAuthenticated command injection when changing date settings or hostname in Guardian/CMC before 20.0.7.4EPSS 2.8%CVE-2025-11202CRITICALwin-cli-mcp-server resolveCommandPath Command Injection Remote Code Execution VulnerabilityEPSS 2.8%CVE-2026-28774CRITICALAuthenticated OS Command Injection via Traceroute Utility leads to Root RCEEPSS 2.8%CVE-2026-46339CRITICAL9Router: Unauthenticated Remote Code Execution via unprotected MCP custom plugin routesEPSS 2.8%CVE-2024-52587LOWHarden-Runner has command injection weaknesses in `setup.ts` and `arc-runner.ts`EPSS 2.8%CVE-2025-7404MEDIUMCalibre Web 0.6.24 & Autocaliweb 0.7.0 - Blind CEPSS 2.8%CVE-2025-14586MEDIUMTOTOLINK X5000R cstecgi.cgi snprintf os command injectionEPSS 2.8%CVE-2025-56095HIGHOS Command Injection vulnerability in Ruijie RG-EW1200G PRO RG-EW1200G PRO V1.00/V2.00/V3.00/V4.00 allowing attackers to execute arbitrary cEPSS 2.8%CVE-2025-56106HIGHOS Command Injection vulnerability in Ruijie RG-EW1800GX B11P226_EW1800GX_10223121 allowing attackers to execute arbitrary commands via a crEPSS 2.8%CVE-2025-56092HIGHOS Command Injection vulnerability in Ruijie X30 PRO V1 X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted PEPSS 2.8%CVE-2025-56101HIGHOS Command Injection vulnerability in Ruijie M18 EW_3.0(1)B11P226_M18_10223116 allowing attackers to execute arbitrary commands via a crafteEPSS 2.8%CVE-2020-2008HIGHPAN-OS: OS command injection or arbitrary file deletion vulnerabilityEPSS 2.8%