Fallos del tipo CWE-78

5063 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-2026-107780CRITICALDromara Skyeye Unauthenticated OS Command Injection via textToSpeech format ParameterEPSS 2.1%CVE-2026-95675CRITICALD-Link DAP-1360 6.14 Unauthenticated RCE via Web Management InterfaceEPSS 2.1%CVE-2025-44961CRITICALIn RUCKUS SmartZone (SZ) before 6.1.2p3 Refresh Build, OS command injection can occur via an IP address field provided by an authenticated uEPSS 2.1%CVE-2026-42168CRITICALdjango-pyas2 through 1.2.3 is vulnerable to OS command injection via the cmd_receive and cmd_send fields on the Partner model. These fields EPSS 2.1%CVE-2026-91140CRITICALOS command injection in Progress Software Autonomous REST Connector GenAI AgentsEPSS 2.0%CVE-2026-107704CRITICALimage_optimizer 1.3.0 through 1.9.0 OS Command Injection via identify_formatEPSS 2.0%CVE-2017-6712—A vulnerability in certain commands of Cisco Elastic Services Controller could allow an authenticated, remote attacker to elevate privilegesEPSS 2.0%CVE-2026-78211CRITICAL4MOSAn Security Technology|4MOSAn GCB Doctor - OS Command InjectionEPSS 2.0%CVE-2026-82082CRITICALGreen-Computing|NUMail - OS Command InjectionEPSS 2.0%CVE-2026-65711HIGHsysPass 3.2.11 Authenticated OS Command Injection via Backup PathEPSS 2.0%CVE-2026-112301MEDIUMorbitale imagemagick-php Command.php font os command injectionEPSS 2.0%CVE-2026-112370CRITICALH3C Magic NX15 usrlist sub_416874 os command injectionEPSS 2.0%CVE-2024-45888HIGHDrayTek Vigor3900 1.5.1.3 contains a command injection vulnerability. This vulnerability occurs when the `action` parameter in `cgi-bin/mainEPSS 2.0%CVE-2021-1602HIGHCisco Small Business RV160 and RV260 Series VPN Routers Remote Command Execution VulnerabilityEPSS 2.0%CVE-2026-47359HIGHApache CloudStack: OS Command Injection due to unsanitized mount commandEPSS 2.0%CVE-2026-19379MEDIUMEFM ipTIME AX8004M CGI Endpoint d.cgi popen os command injectionEPSS 2.0%CVE-2024-41622HIGHD-Link DIR-846W A1 FW100A43 was discovered to contain a remote command execution (RCE) vulnerability via the tomography_ping_address parametEPSS 2.0%CVE-2026-6349CRITICALHGiga|iSherlock - OS Command InjectionEPSS 2.0%CVE-2026-101075CRITICALNetcore NR289-GE Location Time location_time.cgi system os command injectionEPSS 2.0%CVE-2026-109110CRITICALWavlink WL-WN592AX6 wmapd system os command injectionEPSS 2.0%