Falhas do tipo CWE-434

3.086 resultados

Upload irrestrito de arquivo com tipo perigoso

A aplicação aceita upload de arquivos sem validar adequadamente o tipo ou extensão, permitindo que um atacante envie executáveis, scripts ou outros arquivos maliciosos que serão armazenados ou executados no servidor. O risco aumenta se o arquivo for salvo em diretório acessível pela web ou em local onde será processado automaticamente.

Exemplo

Um sistema de upload de 'fotos de perfil' verifica apenas o tamanho do arquivo, mas não valida a extensão. Um atacante envia um arquivo .php disfarçado de imagem; se salvo em /uploads/ acessível via web, ele consegue executar código PHP no servidor ao acessar a URL direta.

Como mitigar

Valide extensões contra uma lista branca (whitelist) de tipos permitidos, verifique a assinatura do arquivo (magic bytes) e não confie apenas no Content-Type do cliente. Armazene uploads fora do diretório web ou configure o servidor para não executar scripts no diretório de uploads.

CVE-2026-45140CRITICALChamilo LMS CStudio upload flow allows unauthenticated remote code executionEPSS 1.0%CVE-2024-4681MEDIUMCampcodes Legal Case Management System Setting general-setting unrestricted uploadEPSS 1.0%CVE-2021-27280HIGHOS Command injection vulnerability in mblog 3.5.0 allows attackers to execute arbitrary code via crafted theme when it gets selected.EPSS 1.0%CVE-2023-6902MEDIUMcodelyfe Stupid Simple CMS upload.php unrestricted uploadEPSS 1.0%CVE-2024-57169CRITICALA file upload bypass vulnerability exists in SOPlanning 1.53.00, specifically in /process/upload.php. This vulnerability allows remote attacEPSS 1.0%CVE-2023-1731HIGHImproper Input Validation in Meinberg LTOSEPSS 1.0%CVE-2025-34195HIGHVasion Print (formerly PrinterLogic) Unquoted Path During Driver Installation Leads to Execution of C:\Program.exeEPSS 1.0%CVE-2025-2512CRITICALFile Away <= 3.9.9.0.1 - Missing Authorization to Unauthenticated File Upload via upload FunctionEPSS 1.0%CVE-2024-6315HIGHBlox Page Builder <= 1.0.65 - Authenticated (Contributor+) Arbitrary File UploadEPSS 1.0%CVE-2022-0959—A malicious, but authorised and authenticated user can construct an HTTP request using their existing CSRF token and session cookie to manuaEPSS 1.0%CVE-2023-6308MEDIUMXiamen Four-Faith Video Surveillance Management System Apache Struts unrestricted uploadEPSS 1.0%CVE-2023-24517MEDIUMRemote Code Execution via Unrestricted File UploadEPSS 1.0%CVE-2025-13516HIGHSureMail – SMTP and Email Logs Plugin with Amazon SES, Postmark, and Other Providers <= 1.9.0 - Unauthenticated Arbitrary File UploadEPSS 1.0%CVE-2025-3783MEDIUMSourceCodester Web-based Pharmacy Product Management System add-product.php unrestricted uploadEPSS 1.0%CVE-2024-41577CRITICALAn arbitrary file upload vulnerability in the Ueditor component of productinfoquick v1.0 allows attackers to execute arbitrary code via uploEPSS 1.0%CVE-2022-50893CRITICALVIAVIWEB Wallpaper Admin 1.0 - Code Execution via Image UploadEPSS 1.0%CVE-2025-22654CRITICALWordPress Simplified Plugin Plugin <= 1.0.6 - Arbitrary File Upload vulnerabilityEPSS 1.0%CVE-2024-40645HIGHFOG Authenticated File Upload RCEEPSS 1.0%CVE-2024-3242HIGHBrizy – Page Builder <= 2.4.44 - Authenticated (Contributor+) Arbitrary File UploadEPSS 1.0%CVE-2024-9307CRITICALmFolio Lite <= 1.2.1 - Missing Authorization to Authenticated (Author+) File Upload via EXE and SVG FilesEPSS 1.0%