Falhas do tipo CWE-434

3.083 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-2022-41406HIGHAn arbitrary file upload vulnerability in the /admin/admin_pic.php component of Church Management System v1.0 allows attackers to execute arEPSS 1.2%CVE-2022-40924HIGHZoo Management System v1.0 has an arbitrary file upload vulnerability in the picture upload point of the "save_animal" file of the "Animals"EPSS 1.2%CVE-2013-10066CRITICALKordil EDMS v2.2.60rc3 Unauthenticated Arbitrary File UploadEPSS 1.2%CVE-2022-39977HIGHOnline Pet Shop We App v1.0 was discovered to contain an arbitrary file upload vulnerability via the Editing function in the User module. ThEPSS 1.2%CVE-2022-31366HIGHAn arbitrary file upload vulnerability in the apiImportLabs function in api_labs.php of EVE-NG 2.0.3-112 Community allows attackers to execuEPSS 1.2%CVE-2022-39978HIGHOnline Pet Shop We App v1.0 was discovered to contain an arbitrary file upload vulnerability via the Editing function in the Product List moEPSS 1.2%CVE-2024-1468HIGHAvada | Website Builder For WordPress & WooCommerce <= 7.11.4 - Authenticated (Contributor+) Arbitrary File UploadEPSS 1.2%CVE-2025-4468MEDIUMSourceCodester Online Student Clearance System edit-photo.php unrestricted uploadEPSS 1.2%CVE-2024-10410MEDIUMSourceCodester Online Hotel Reservation System controller.php upload unrestricted uploadEPSS 1.2%CVE-2022-2418HIGHURVE Web Manager img_upload.php unrestricted uploadEPSS 1.1%CVE-2026-13430HIGHPost Export Import with Media <= 1.13.1 - Authenticated (Administrator+) Arbitrary File Upload via Trailing-Dot Filename Bypass in ZIP Media ImportEPSS 1.1%CVE-2022-41539HIGHWedding Planner v1.0 was discovered to contain an arbitrary file upload vulnerability in the component /admin/users_add.php. This vulnerabilEPSS 1.1%CVE-2024-47946HIGHOS Command Execution through Arbitrary File UploadEPSS 1.1%CVE-2015-10087MEDIUMUpThemes Theme DesignFolio Plus unrestricted uploadEPSS 1.1%CVE-2012-10038CRITICALAuxilium RateMyPet Arbitrary File Upload RCEEPSS 1.1%CVE-2024-8066HIGHFile Manager Pro – Filester <= 1.8.6- Authenticated (Subscriber+) Arbitrary File UploadEPSS 1.1%CVE-2025-4317HIGHTheGem <= 5.10.3 - Authenticated (Subscriber+) Arbitrary File UploadEPSS 1.1%CVE-2012-10052CRITICALEGallery 1.2 Arbitrary PHP File UploadEPSS 1.1%CVE-2022-43085HIGHAn arbitrary file upload vulnerability in add_product.php of Restaurant POS System v1.0 allows attackers to execute arbitrary code via a craEPSS 1.1%CVE-2022-43083HIGHAn arbitrary file upload vulnerability in admin-add-vehicle.php of Vehicle Booking System v1.0 allows attackers to execute arbitrary code viEPSS 1.1%