Weaknesses of type CWE-78

5,063 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-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%