Fallos del tipo CWE-78

4563 resultados

Injeção de Comando do Sistema Operacional

A aplicação constrói comandos do SO (shell, cmd.exe, etc.) usando dados de entrada do usuário ou de fontes externas sem validar ou sanitizar adequadamente. Um atacante consegue injetar metacaracteres especiais (como ;, |, &, `, $()) para executar comandos arbitrários além daqueles originalmente planejados.

Ejemplo

Uma API que executa `ping hostname` recebendo o hostname como parâmetro GET faz isso: `exec('ping ' + request.query.host)`. Um atacante passa `8.8.8.8; rm -rf /` e consegue deletar arquivos do servidor, não apenas fazer ping.

Cómo mitigar

Evite construir comandos concatenando strings com entrada externa — use bibliotecas que parametrizem comandos ou listas de argumentos (como execFile no Node.js, subprocess com lista em Python, ProcessBuilder em Java). Se for inevitável, valide contra uma whitelist rígida e, se disponível, use modo restrito do shell (sh -c com argumentos seguros) ou contenha a execução em sandbox/container.

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