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-2023-6321HIGHOwlet Camera OS command injectionEPSS 2.7%CVE-2020-26274MEDIUMCommand Injection Vulnerability in systeminformationEPSS 2.7%CVE-2025-34184CRITICALIlevia EVE X1 Server 4.7.18.0.eden Neuro-Core Unauthenticated Code InjectionEPSS 2.7%CVE-2026-22225HIGHCommand Injection Vulnerability on TP-Link Archer BE230 v1.2 and AXE75 v1.0EPSS 2.7%CVE-2024-42740MEDIUMIn TOTOLINK X5000r v9.1.0cu.2350_b20230313, the file /cgi-bin/cstecgi.cgi contains an OS command injection vulnerability in setLedCfg. AutheEPSS 2.7%CVE-2013-10049CRITICALRaidsonic NAS Devices Unauthenticated Remote Command ExecutionEPSS 2.7%CVE-2024-1297HIGHLoomio 2.22.0 - Code injectionEPSS 2.7%CVE-2026-27562HIGHCommand Injection via PUT in /api/iodd/configEPSS 2.7%CVE-2026-86167CRITICALTenda HG10 Boa formgponConf os command injectionEPSS 2.7%CVE-2026-27561HIGHCommand Injection via GET in /api/iodd/configEPSS 2.7%CVE-2026-27563HIGHCommand Injection via GET in /api/datastorage/dataEPSS 2.7%CVE-2026-27564HIGHCommand Injection via PUT in /api/datastorage/dataEPSS 2.7%CVE-2026-27560HIGHCommand Injection via DELETE in /api/status/dataEPSS 2.7%CVE-2026-110640CRITICALWhisper-node through 1.1.1 OS Command Injection via filePath and languageEPSS 2.7%CVE-2026-110638CRITICALdoc-recog through 1.1.6 OS Command Injection via DocData._readPDF File PathEPSS 2.7%CVE-2026-110639CRITICAL@mborne/extract before 0.2.1 OS Command Injection via archivePath and targetDirEPSS 2.7%CVE-2021-36024CRITICALMagento Commerce Improper Neutralization of Special Elements Used In A CommandEPSS 2.7%CVE-2026-110644CRITICALnodejs-whisper through 0.3.1 OS Command Injection via convertToWavTypeEPSS 2.7%CVE-2019-12812—MyBuilder viewer before 6.2.2019.814 allow an attacker to execute arbitrary command via specifically crafted configuration file. This can beEPSS 2.7%CVE-2026-9367MEDIUMNousResearch hermes-agent terminal_tool approval.py detect_dangerous_command os command injectionEPSS 2.7%