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-2026-5528MEDIUMMoussaabBadla code-screenshot-mcp HTTP os command injectionEPSS 2.4%CVE-2022-45045HIGHMultiple Xiongmai NVR devices, including MBD6304T V4.02.R11.00000117.10001.131900.00000 and NBD6808T-PL V4.02.R11.C7431119.12001.130000.0000EPSS 2.4%CVE-2025-34049CRITICALOptiLink ONT1GEW GPON Remote Code ExecutionEPSS 2.4%CVE-2026-67599HIGHClearOS 7.9 OS Command Injection via Log Viewer filter parameterEPSS 2.4%CVE-2026-67608HIGHTelenia TVox 26.5.3 OS Command Injection via action_audio.phpEPSS 2.4%CVE-2026-7240CRITICALTotolink A8000RU CGI cstecgi.cgi setVpnAccountCfg os command injectionEPSS 2.4%CVE-2026-5532MEDIUMScrapeGraphAI scrapegraph-ai GenerateCodeNode generate_code_node.py create_sandbox_and_execute os command injectionEPSS 2.4%CVE-2021-21302MEDIUMCSV Injection via csv exportEPSS 2.4%CVE-2026-32833HIGHCudy LT300 3.0 OS Command Injection via NTP ConfigurationEPSS 2.4%CVE-2025-7154MEDIUMTOTOLINK N200RE cstecgi.cgi sub_41A0F8 os command injectionEPSS 2.4%CVE-2026-7244CRITICALTotolink A8000RU CGI cstecgi.cgi setWiFiEasyGuestCfg os command injectionEPSS 2.4%CVE-2025-1676MEDIUMhzmanyun Education and Training System pdf2swf os command injectionEPSS 2.4%CVE-2026-90492MEDIUMwebgjc web_robot web.py controller_recover os command injectionEPSS 2.4%CVE-2025-34134CRITICALNagios XI < 2024R1.4.2 RCE via Business Process Intelligence (BPI)EPSS 2.4%CVE-2025-34286CRITICALNagios XI < 2026R1 RCE via Run Check Command in CCMEPSS 2.4%CVE-2024-14008CRITICALNagios XI < 2024R1.3.2 RCE via WinRM Configuration WizardEPSS 2.4%CVE-2022-50909HIGHAlgo 8028 Control Panel - Remote Code Execution (RCE) (Authenticated)EPSS 2.4%CVE-2023-40505CRITICALLG Simple Editor createThumbnailByMovie Command Injection Remote Code Execution VulnerabilityEPSS 2.4%CVE-2022-34427HIGHDell Container Storage Modules 1.2 contains an OS Command Injection in goiscsi and gobrick libraries. A remote unauthenticated attacker coulEPSS 2.4%CVE-2025-15379CRITICALCommand Injection in mlflow/mlflowEPSS 2.4%