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-2024-5297HIGHD-Link D-View executeWmicCmd Command Injection Remote Code Execution VulnerabilityEPSS 1.9%CVE-2010-10013CRITICALAjaXplorer < 2.6 checkInstall.php Unauthenticated RCEEPSS 1.9%CVE-2023-50382HIGHThree os command injection vulnerabilities exist in the boa formWsc functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially craftedEPSS 1.9%CVE-2023-50383HIGHThree os command injection vulnerabilities exist in the boa formWsc functionality of Realtek rtl819x Jungle SDK v3.4.11. A specially craftedEPSS 1.9%CVE-2023-27917HIGHOS command injection vulnerability in CONPROSYS IoT Gateway products allows a remote authenticated attacker who can access Network MaintenanEPSS 1.9%CVE-2019-1010200—Voice Builder Prior to commit c145d4604df67e6fc625992412eef0bf9a85e26b and f6660e6d8f0d1d931359d591dbdec580fef36d36 is affected by: CWE-78: EPSS 1.9%CVE-2025-56096HIGHOS Command Injection vulnerability in Ruijie RG-BCR RG-BCR600W allowing attackers to execute arbitrary commands via a crafted POST request tEPSS 1.9%CVE-2022-1360HIGHCambium Networks cnMaestro OS Command InjectionEPSS 1.9%CVE-2021-32534CRITICALQSAN SANOS - Command InjectionEPSS 1.9%CVE-2021-32533CRITICALQSAN SANOS - Command InjectionEPSS 1.9%CVE-2009-20010CRITICALDogfood CRM spell.php RCEEPSS 1.9%CVE-2021-32830LOWThe @diez/generation npm package is a client for Diez. The locateFont method of @diez/generation has a command injection vulnerability. ClieEPSS 1.9%CVE-2026-1961HIGHForman: foreman: remote code execution via command injection in websocket proxyEPSS 1.9%CVE-2026-82636HIGHQubes OS before qubes-core-dom0-linux 4.3.22 allows OS command injection during a qvm-copy-to-vm call from dom0 to an attacker-controlled quEPSS 1.9%CVE-2022-43643HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-825 1.0.9/EE routers.EPSS 1.9%CVE-2026-12815MEDIUMcoollabsio coolify Image Name os command injectionEPSS 1.9%CVE-2026-6942CRITICALradare2-mcp <=1.6.0 OS Command Injection via Shell Metacharacter BypassEPSS 1.9%CVE-2021-36011HIGHAdobe Illustrator improper neutralization of special elements used in an OS commandEPSS 1.9%CVE-2025-61304CRITICALOS command injection vulnerability in Dynatrace ActiveGate ping extension up to 1.016 via crafted ip address.EPSS 1.9%CVE-2022-20871MEDIUMCisco Secure Web Appliance Privilege Escalation VulnerabilityEPSS 1.9%