Weaknesses of type CWE-78

4,591 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-2025-64756HIGHglob CLI: Command injection via -c/--cmd executes matches with shell:trueEPSS 3.1%CVE-2024-7171MEDIUMTOTOLINK A3600R cstecgi.cgi NTPSyncWithHost os command injectionEPSS 3.1%CVE-2024-7175MEDIUMTOTOLINK A3600R cstecgi.cgi setDiagnosisCfg os command injectionEPSS 3.1%CVE-2024-8574MEDIUMTOTOLINK AC1200 T8 cstecgi.cgi setParentalRules os command injectionEPSS 3.1%CVE-2026-30815HIGHOS Command Injection Vulnerability in OpenVPN Module in TP-Link AX53EPSS 3.1%CVE-2026-9254HIGHCommand Injection Vulnerability in Parent Control of Multiple TP-Link Archer DevicesEPSS 3.1%CVE-2020-12522CRITICALCommand Injection Vulnerability in I/O-Check Service of WAGO PFC100, PFC200 and Touch Panel 600 Series with firmware versions <=FW10EPSS 3.1%CVE-2025-56110HIGHOS Command Injection vulnerability in Ruijie RG-BCR RG-BCR860 allowing attackers to execute arbitrary commands via a crafted POST request toEPSS 3.1%CVE-2025-56111HIGHOS Command Injection vulnerability in Ruijie RG-BCR RG-BCR860 allowing attackers to execute arbitrary commands via a crafted POST request toEPSS 3.1%CVE-2025-56109HIGHOS Command Injection vulnerability in Ruijie RG-BCR RG-BCR860 allowing attackers to execute arbitrary commands via a crafted POST request toEPSS 3.1%CVE-2025-56117HIGHOS Command Injection vulnerability in Ruijie X30-PRO X30-PRO-V1_09241521 allowing attackers to execute arbitrary commands via a crafted POSTEPSS 3.1%CVE-2020-2507CRITICALcommand injection vulnerability in HelpdeskEPSS 3.0%CVE-2026-36576CRITICALAn OS command injection vulnerability in the app.py component of openlabs docker-wkhtmltopdf-aas up to commit 9f50579 allows attackers to exEPSS 3.0%CVE-2026-33718HIGHOpenHands is Vulnerable to Command Injection through its Git Diff HandlerEPSS 3.0%CVE-2022-3008HIGHCommand Injection on tinygltfEPSS 3.0%CVE-2026-43641CRITICALSoftaculous Virtualizor OS Command Injection via Billing Module HandlerEPSS 3.0%CVE-2021-31580HIGHAkkadian Provisioning Manager Engine (PME) Shell Escape via 'exec' commandEPSS 3.0%CVE-2026-26046HIGHMoodle: moodle: improper input sanitization in tex filter administration settingEPSS 3.0%CVE-2026-59726CRITICALRuflo: Unauthenticated RCE in MCP bridge default docker-compose deploymentEPSS 3.0%CVE-2024-30368HIGHA10 Thunder ADC CsrRequestView Command Injection Remote Code Execution VulnerabilityEPSS 3.0%