Fallos del tipo CWE-78

5015 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-2021-27104CRITICALAccellion FTA 9_12_370 and earlier is affected by OS command execution via a crafted POST request to various admin endpoints. The fixed versEPSS 56.7%KEVCVE-2021-25297HIGHNagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/confiEPSS 56.7%KEVCVE-2021-43857CRITICALGerapy may contain remote code execution vulnerabilityEPSS 55.6%CVE-2024-2448HIGHLoadMaster Command Injection VulnerabilityEPSS 55.4%CVE-2025-58034MEDIUMAn Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78] vulnerability in FortinEPSS 54.7%KEVCVE-2026-2701CRITICALRCE vulnerability in Progress ShareFile Storage Zones Controller (SZC)EPSS 54.5%CVE-2025-9528MEDIUMLinksys E1700 systemCommand os command injectionEPSS 54.5%CVE-2024-9441CRITICALLinear eMerge e3-Series Forgot Password Command InjectionEPSS 53.5%CVE-2025-34030CRITICALsar2html OS Command InjectionEPSS 52.2%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-2022-0557HIGHOS Command Injection in microweber/microweberEPSS 51.2%CVE-2023-3450MEDIUMRuijie RG-BCR860 Network Diagnostic Page os command injectionEPSS 51.1%CVE-2025-43562CRITICALColdFusion | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)EPSS 51.0%CVE-2021-33553HIGHUDP Technology/Geutebrück camera devices: Command injection in command parameter leading to RCEEPSS 51.0%CVE-2021-33551HIGHUDP Technology/Geutebrück camera devices: Command injection in environment.lang parameter leading to RCEEPSS 51.0%CVE-2021-33552HIGHUDP Technology/Geutebrück camera devices: Command injection in date parameter leading to RCEEPSS 51.0%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-2022-2550CRITICALOS Command Injection in hestiacp/hestiacpEPSS 49.3%CVE-2024-1520CRITICALOS Command Injection in parisneo/lollms-webuiEPSS 48.2%