Weaknesses of type CWE-78

4,563 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-2025-58034MEDIUMAn Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78] vulnerability in FortinEPSS 55.6%KEVCVE-2024-2448HIGHLoadMaster Command Injection VulnerabilityEPSS 55.4%CVE-2021-43857CRITICALGerapy may contain remote code execution vulnerabilityEPSS 55.3%CVE-2026-2701CRITICALRCE vulnerability in Progress ShareFile Storage Zones Controller (SZC)EPSS 54.5%CVE-2025-9528MEDIUMLinksys E1700 systemCommand os command injectionEPSS 54.5%CVE-2025-34030CRITICALsar2html OS Command InjectionEPSS 54.4%CVE-2024-9441CRITICALLinear eMerge e3-Series Forgot Password Command InjectionEPSS 53.5%CVE-2022-28171HIGHThe web module in some Hikvision Hybrid SAN/Cluster Storage products have the following security vulnerability. Due to the insufficient inpuEPSS 51.6%CVE-2025-54782CRITICAL@nestjs/devtools-integration's CSRF to Sandbox Escape Allows for RCE against JS DevelopersEPSS 51.3%CVE-2022-0557HIGHOS Command Injection in microweber/microweberEPSS 51.2%CVE-2023-3450MEDIUMRuijie RG-BCR860 Network Diagnostic Page os command injectionEPSS 50.8%CVE-2023-49897HIGHAn OS command injection vulnerability exists in AE1021PE firmware version 2.0.9 and earlier and AE1021 firmware version 2.0.9 and earlier. IEPSS 50.4%KEVCVE-2024-3346MEDIUMByzoro Smart S80 webmailattach.php os command injectionEPSS 49.3%CVE-2021-33551HIGHUDP Technology/Geutebrück camera devices: Command injection in environment.lang parameter leading to RCEEPSS 48.8%CVE-2021-33553HIGHUDP Technology/Geutebrück camera devices: Command injection in command parameter leading to RCEEPSS 48.8%CVE-2021-33552HIGHUDP Technology/Geutebrück camera devices: Command injection in date parameter leading to RCEEPSS 48.8%CVE-2022-2550CRITICALOS Command Injection in hestiacp/hestiacpEPSS 48.3%CVE-2024-1520CRITICALOS Command Injection in parisneo/lollms-webuiEPSS 48.2%CVE-2023-6018CRITICALMLflow Arbitrary File WriteEPSS 47.9%CVE-2021-40407CRITICALAn OS command injection vulnerability exists in the device network settings functionality of reolink RLC-410W v3.0.0.136_20121102. At [1] orEPSS 47.6%KEV