Falhas do tipo CWE-78
4.565 resultadosInjeção de comando do sistema operacional
A aplicação constrói comandos do SO usando dados de entrada do usuário sem sanitização adequada, permitindo que um atacante injete comandos adicionais. Quando o comando é executado, instruções maliciosas do atacante rodam com os privilégios da aplicação, comprometendo o servidor.
Exemplo
Um script PHP que executa `system('ping ' . $_GET['host'])` sem validar o parâmetro. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, não apenas fazer ping.
Como mitigar
Sempre valide e sanitize entrada de usuário; prefira APIs seguras (como funções que aceitam argumentos separados em vez de strings de comando); execute com menor privilégio necessário; use listas brancas de valores permitidos quando possível.
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