Falhas do tipo CWE-434

3.091 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-51412CRITICALWordPress Piotnet Forms Plugin <= 1.0.25 is vulnerable to Arbitrary File UploadEPSS 0.5%CVE-2025-46068HIGHAn issue in Automai Director v.25.2.0 allows a remote attacker to execute arbitrary code via the update mechanismEPSS 0.5%CVE-2025-27282CRITICALWordPress Theme File Duplicator Plugin <= 1.3 - Arbitrary File Upload vulnerabilityEPSS 0.5%CVE-2023-0257MEDIUMSourceCodester Online Food Ordering System Menu Form unrestricted uploadEPSS 0.5%CVE-2024-37418CRITICALWordPress Church Admin plugin <= 4.4.6 - Arbitrary File Upload vulnerabilityEPSS 0.5%CVE-2025-6423HIGHBeeTeam368 Extensions <= 2.3.5 - Authenticated (Subscriber+) Arbitrary File UploadEPSS 0.5%CVE-2023-3504MEDIUMSmartWeb Infotech Job Board My Profile Page account unrestricted uploadEPSS 0.5%CVE-2022-40981MEDIUMETIC Telecom Remote Access Server Unrestricted Upload of File with Dangerous TypeEPSS 0.5%CVE-2022-0912MEDIUMUnrestricted Upload of File with Dangerous Type in microweber/microweberEPSS 0.5%CVE-2025-14532CRITICALRemote Code Execution via Unrestricted File Upload in DobryCMSEPSS 0.5%CVE-2025-54762CRITICALSS1 Ver.16.0.0.10 and earlier (Media version:16.0.0a and earlier) allows a remote unauthenticated attacker to upload arbitrary files and exeEPSS 0.5%CVE-2025-67164CRITICALAn authenticated arbitrary file upload vulnerability in the /storage/poc.php component of Pagekit CMS v1.0.18 allows attackers to execute arEPSS 0.5%CVE-2025-65471HIGHAn arbitrary file upload vulnerability in the /admin/manager.php component of EasyImages 2.0 v2.8.6 and below allows attackers to execute arEPSS 0.5%CVE-2025-53970CRITICALSS1 Ver.16.0.0.10 and earlier (Media version:16.0.0a and earlier) allows a remote unauthenticated attacker to upload arbitrary files and exeEPSS 0.5%CVE-2023-48275HIGHWordPress Widgets for Google Reviews plugin <= 11.0.2 - Arbitrary File Upload vulnerabilityEPSS 0.5%CVE-2024-31161HIGHASUS Download Master - Arbitrary File UploadEPSS 0.5%CVE-2025-3969MEDIUMcodeprojects News Publishing Site Dashboard Edit Category Page edit-category.php unrestricted uploadEPSS 0.5%CVE-2024-10764MEDIUMCodezips Online Institute Management System save_user.php unrestricted uploadEPSS 0.5%CVE-2024-10765MEDIUMCodezips Online Institute Management System profile.php unrestricted uploadEPSS 0.5%CVE-2025-3807MEDIUMzhenfeng13 My-BBS Endpoint UploadController.java upload unrestricted uploadEPSS 0.5%