Falhas do tipo CWE-434

3.233 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-2023-32752CRITICALL7 Networks InstantScan & InstantQoS - Arbitrary File UploadEPSS 0.9%CVE-2023-25909CRITICALHGiga Inc. OAKlouds - Arbitrary File UploadEPSS 0.9%CVE-2023-3061MEDIUMcode-projects Agro-School Management System Attachment Image btn_functions.php unrestricted uploadEPSS 0.9%CVE-2026-74845HIGH2100 Technology|Official Document Management System - Arbitrary File UploadEPSS 0.9%CVE-2023-46694HIGHVtenext 21.02 allows an authenticated attacker to upload arbitrary files, potentially enabling them to execute remote commands. This flaw exEPSS 0.9%CVE-2026-77929HIGHClipBucket < 5.5.3-#182 Remote Code Execution via Photo Upload EndpointEPSS 0.9%CVE-2025-54082HIGHnova-tiptap has an Unauthenticated Arbitrary File Upload VulnerabilityEPSS 0.9%CVE-2024-6318HIGHIMGspider <= 2.3.10 - Authenticated (Contributor+) Arbitrary File Upload via 'upload_img_file'EPSS 0.9%CVE-2023-3274MEDIUMcode-projects Supplier Management System Picture btn_functions.php unrestricted uploadEPSS 0.9%CVE-2023-3503MEDIUMSourceCodester Shopping Website insert-product.php unrestricted uploadEPSS 0.9%CVE-2024-6319HIGHIMGspider <= 2.3.10 - Authenticated (Contributor+) Arbitrary File Upload via 'upload'EPSS 0.9%CVE-2023-50692HIGHFile Upload vulnerability in JIZHICMS v.2.5, allows remote attacker to execute arbitrary code via a crafted file uploaded and downloaded to EPSS 0.9%CVE-2024-0757MEDIUMInsert or Embed Articulate Content into WordPress <= 4.3000000023 - Author+ Upload to RCEEPSS 0.9%CVE-2023-30333CRITICALAn arbitrary file upload vulnerability in the component /admin/ThemeController.java of PerfreeBlog v3.1.2 allows attackers to execute arbitrEPSS 0.9%CVE-2024-5377MEDIUMSourceCodester Vehicle Management System newvehicle.php unrestricted uploadEPSS 0.9%CVE-2022-48006CRITICALAn arbitrary file upload vulnerability in taocms v3.0.2 allows attackers to execute arbitrary code via a crafted PHP file. This vulnerabilitEPSS 0.9%CVE-2022-50936HIGHWBCE CMS 1.5.2 - Remote Code Execution (RCE) (Authenticated)EPSS 0.9%CVE-2026-102427CRITICALJoomla Extension - ordasoft.com - Unauthenticated Remote Code Execution in OrdaSoft Joomla CCK < 8.3.16EPSS 0.9%CVE-2023-1442MEDIUMMeizhou Qingyunke QYKCMS Update api.php unrestricted uploadEPSS 0.9%CVE-2025-9216HIGHStoreEngine – Powerful WordPress eCommerce Plugin for Payments, Memberships, Affiliates, Sales & More <= 1.5.0 - Authenticated (Subscriber+) Arbitrary File UploadEPSS 0.9%