Falhas do tipo CWE-434

3.246 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-2020-36701HIGHPage Builder: KingComposer < 2.9.4 - Arbitrary File UploadEPSS 1.5%CVE-2022-39036CRITICALFLOWRING Agentflow BPM - Arbitrary File UploadEPSS 1.5%CVE-2025-66480CRITICALWildfire has Arbitrary File Upload via Directory Traversal in UploadFileActionEPSS 1.5%CVE-2021-4330HIGHEnvato Elements <= 2.0.10 & Template Kit <= 1.0.13 - Authenticated (Contributor+) Arbitrary File UploadEPSS 1.5%CVE-2024-43657CRITICALWhen uploading new firmware, a shell script inside a firmware file is executed during its processing. This can be used to craft a custom firmware file with a custom script with arbitrary code, which will then be executed on the charging station.EPSS 1.5%CVE-2022-0537—MapPress Maps for WordPress < 2.73.13 - Admin+ File Upload to Remote Code ExecutionEPSS 1.5%CVE-2024-7772CRITICALJupiter X Core <= 4.6.5 - Unauthenticated Arbitrary File UploadEPSS 1.5%CVE-2023-4122CRITICALStudent Information System v1.0 - Insecure File UploadEPSS 1.5%CVE-2024-49668CRITICALWordPress Verbalize WP plugin <= 1.0 - Arbitrary File Upload vulnerabilityEPSS 1.5%CVE-2024-51788CRITICALWordPress The Novel Design Store Directory plugin <= 4.3.0 - Arbitrary File Upload vulnerabilityEPSS 1.5%CVE-2022-36386CRITICALWordPress Import any XML or CSV File to WordPress plugin <= 3.6.7 - Authenticated Arbitrary Code Execution vulnerabilityEPSS 1.5%CVE-2025-8297HIGHIncomplete restriction of configuration in Ivanti Avalanche before version 6.4.8.8008 allows a remote authenticated attacker with admin privEPSS 1.5%CVE-2021-24663—Simple School Staff Directory <= 1.1 - Admin+ Arbitrary File UploadEPSS 1.5%CVE-2020-26255MEDIUMPHP Phar archives could be uploaded and executed in KirbyEPSS 1.5%CVE-2023-43740HIGHOnline Book Store Project v1.0 - Insecure File UploadEPSS 1.5%CVE-2024-1311HIGHBrizy – Page Builder <= 2.4.40 - Authenticated (Contributor+) Arbitrary File UploadEPSS 1.5%CVE-2023-6925HIGHUnlimited Addons for WPBakery Page Builder <= 1.0.42 - Authenticated (Editor+) Arbitrary File UploadEPSS 1.5%CVE-2025-5058CRITICALeMagicOne Store Manager for WooCommerce <= 1.2.5 - Unauthenticated Arbitrary File Upload via set_image()EPSS 1.5%CVE-2023-30247CRITICALFile Upload vulnerability found in Oretnom23 Storage Unit Rental Management System v.1.0 allows a remote attacker to execute arbitrary code EPSS 1.5%CVE-2023-51590CRITICALVoltronic Power ViewPower Pro UpLoadAction Unrestricted File Upload Remote Code Execution VulnerabilityEPSS 1.5%