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-2022-42698CRITICALWordPress Api2Cart Bridge Connector plugin <= 1.1.0 - Arbitrary File Upload vulnerabilityEPSS 1.0%CVE-2023-1721CRITICALYoga Class Registration System 1.0 - RCEEPSS 1.0%CVE-2022-45476CRITICALTiny File Manager version 2.4.8 executes the code of files uploaded by users of the application, instead of just returning them for downloadEPSS 1.0%CVE-2026-23636MEDIUMKiteworks Secure Data Forms is vulnerable to an Unrestricted Upload of File with Dangerous TypeEPSS 1.0%CVE-2023-1313HIGHUnrestricted Upload of File with Dangerous Type in cockpit-hq/cockpitEPSS 1.0%CVE-2023-29621HIGHPurchase Order Management v1.0 was discovered to contain an arbitrary file upload vulnerability which allows attackers to execute arbitrary EPSS 1.0%CVE-2023-29627HIGHOnline Pizza Ordering v1.0 was discovered to contain an arbitrary file upload vulnerability which allows attackers to execute arbitrary codeEPSS 1.0%CVE-2026-1555CRITICALWebStack <= 1.2024 - Unauthenticated Arbitrary File UploadEPSS 1.0%CVE-2023-30122CRITICALAn arbitrary file upload vulnerability in the component /admin/ajax.php?action=save_menu of Online Food Ordering System v2.0 allows attackerEPSS 1.0%CVE-2022-45968HIGHAlist v3.4.0 is vulnerable to File Upload. A user with only file upload permission can upload any file to any folder (even a password protecEPSS 1.0%CVE-2024-3483HIGHRemote Code Execution vulnerability in the iManagerEPSS 1.0%CVE-2022-2356MEDIUMUser Private Files < 1.1.3 - Subscriber+ Arbitrary File UploadEPSS 1.0%CVE-2023-42286CRITICALThere is a PHP file inclusion vulnerability in the template configuration of eyoucms v1.6.4, allowing attackers to execute code or system coEPSS 1.0%CVE-2026-32756HIGHAdmidio: Unrestricted File Upload via CSRF Token Validation Bypass in Documents & Files ModuleEPSS 1.0%CVE-2023-26968CRITICALIn Atrocore 1.5.25, the Create Import Feed option with glyphicon-glyphicon-paperclip function is vulnerable to Unauthenticated File upload.EPSS 1.0%CVE-2025-7443HIGHBerqWP <= 2.2.42 - Unauthenticated Arbitrary File UploadEPSS 1.0%CVE-2025-13595CRITICALCIBELES AI <= 1.10.8 - Unauthenticated Arbitrary File UploadEPSS 1.0%CVE-2026-6555CRITICALProSolution WP Client <= 2.0.0 - Unauthenticated Arbitrary File Upload via 'files'EPSS 1.0%CVE-2025-13597CRITICALAI Feeds <= 1.0.11 - Unauthenticated Arbitrary File UploadEPSS 1.0%CVE-2021-47788HIGHWebsiteBaker 2.13.0 - Remote Code Execution (RCE) (Authenticated)EPSS 1.0%