Fallos del tipo CWE-78

4603 resultados

Injeção de Comando do Sistema Operacional

A aplicação constrói comandos do SO (shell, cmd.exe, etc.) usando dados de entrada do usuário ou de fontes externas sem validar ou sanitizar adequadamente. Um atacante consegue injetar metacaracteres especiais (como ;, |, &, `, $()) para executar comandos arbitrários além daqueles originalmente planejados.

Ejemplo

Uma API que executa `ping hostname` recebendo o hostname como parâmetro GET faz isso: `exec('ping ' + request.query.host)`. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, não apenas fazer ping.

Cómo mitigar

Evite construir comandos concatenando strings com entrada externa — use bibliotecas que parametrizem comandos ou listas de argumentos (como execFile no Node.js, subprocess com lista em Python, ProcessBuilder em Java). Se for inevitável, valide contra uma whitelist rígida e, se disponível, use modo restrito do shell (sh -c com argumentos seguros) ou contenha a execução em sandbox/container.

CVE-2021-33841CRITICALCircutor SGE-PLC1000 OS command InjectionEPSS 2.2%CVE-2025-34134CRITICALNagios XI < 2024R1.4.2 RCE via Business Process Intelligence (BPI)EPSS 2.2%CVE-2024-53940HIGHAn issue was discovered in Victure RX1800 WiFi 6 Router (software EN_V1.0.0_r12_110933, hardware 1.0) devices. Certain /cgi-bin/luci/admin eEPSS 2.2%CVE-2025-34286CRITICALNagios XI < 2026R1 RCE via Run Check Command in CCMEPSS 2.2%CVE-2024-14008CRITICALNagios XI < 2024R1.3.2 RCE via WinRM Configuration WizardEPSS 2.2%CVE-2024-6247MEDIUMWyze Cam v3 Wi-Fi SSID OS Command Injection Remote Code Execution VulnerabilityEPSS 2.2%CVE-2026-73694HIGHFileRun < 2026.3.0 OS Command Injection via escapeshellcmd() No-Op RedefinitionEPSS 2.2%CVE-2026-64881HIGHCommand InjectionEPSS 2.2%CVE-2026-72603CRITICALwg-easy wg-easy - OS Command InjectionEPSS 2.2%CVE-2023-26156MEDIUMVersions of the package chromedriver before 119.0.1 are vulnerable to Command Injection when setting the chromedriver.path to an arbitrary sEPSS 2.2%CVE-2020-25849HIGHOpenfind MailGates/MailAudit - Command InjectionEPSS 2.2%CVE-2020-26245HIGHPrototype Pollution leading to Command Injection in systeminformationEPSS 2.2%CVE-2025-66401CRITICALMCP Watch has a Critical Command Injection in cloneRepo allows Remote Code Execution (RCE) via malicious URLEPSS 2.2%CVE-2023-26490HIGHmailcow is vulnerable to shell command injection via xoauth2 authentication in imapsync​EPSS 2.2%CVE-2021-28634HIGHAdobe Acrobat Reader AcrobatUtils.scpt Extension OS Command Injection VulnerabilityEPSS 2.2%CVE-2022-34427HIGHDell Container Storage Modules 1.2 contains an OS Command Injection in goiscsi and gobrick libraries. A remote unauthenticated attacker coulEPSS 2.2%CVE-2026-67325HIGHGitPython before 3.1.51 Command Injection via option prefix abbreviationEPSS 2.2%CVE-2020-2490HIGHIf exploited, the command injection vulnerability could allow remote attackers to execute arbitrary commands. This issue affects: QNAP SysteEPSS 2.2%CVE-2026-5532MEDIUMScrapeGraphAI scrapegraph-ai GenerateCodeNode generate_code_node.py create_sandbox_and_execute os command injectionEPSS 2.2%CVE-2024-50567MEDIUMAn improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiWeb 7.4.0 through 7.6.0 allowEPSS 2.2%