Falhas do tipo CWE-22

6.633 resultados

Travessia de diretório (Path Traversal)

A aplicação constrói caminhos de arquivo usando entrada do usuário sem validar adequadamente, permitindo que caracteres especiais como '../' façam o caminho "sair" do diretório permitido e acessar arquivos fora da zona restrita. Isso expõe dados sensíveis ou permite manipulação de arquivos críticos do sistema.

Exemplo

Um site permite download de documentos via URL como /download?file=relatorio.pdf, mas não valida o parâmetro. Um atacante usa /download?file=../../etc/passwd para ler o arquivo de senhas do servidor, ou /download?file=../../configuracao.db para acessar a base de dados da aplicação.

Como mitigar

Valide e normalize todos os caminhos de entrada (use funções nativas como realpath ou canonicalize), implemente uma whitelist de arquivos permitidos em vez de bloquear padrões perigosos, e configure permissões de arquivo restritivas no SO. Melhor ainda: nunca construa caminhos a partir de entrada do usuário — use índices ou IDs mapeados internamente.

CVE-2024-3311MEDIUMDreamer CMS ThemesController.java ZipUtils.unZipFiles path traversalEPSS 1.0%CVE-2026-19264CRITICALUnauthenticated arbitrary file read via /uploads path traversal (URL-encoded separators) leading to instance takeoverEPSS 1.0%CVE-2023-26559MEDIUMA directory traversal vulnerability in Oxygen XML Web Author before 25.0.0.3 build 2023021715 and Oxygen Content Fusion before 5.0.3 build 2EPSS 1.0%CVE-2024-10361HIGHArbitrary File Deletion via Path Traversal in danny-avila/librechatEPSS 1.0%CVE-2023-25802HIGHRoxy-WI has Path Traversal vulnerabilityEPSS 1.0%CVE-2026-19912CRITICALCVE-2026-19912EPSS 1.0%CVE-2023-1002MEDIUMMuYuCMS index.php path traversalEPSS 1.0%CVE-2026-50548CRITICALCursor Desktop sandbox escape via agent-controlled working directoryEPSS 1.0%CVE-2024-4098CRITICALShariff Wrapper <= 4.6.13 - Unauthenticated Local File InclusionEPSS 1.0%CVE-2024-51376HIGHDirectory Traversal vulnerability in yeqifu carRental v.1.0 allows a remote attacker to obtain sensitive information via the file/downloadFiEPSS 1.0%CVE-2025-32587HIGHWordPress WooCommerce Pickupp plugin <= 2.4.3 - Local File Inclusion vulnerabilityEPSS 1.0%CVE-2022-2653HIGHPath Traversal in plankanban/plankaEPSS 1.0%CVE-2024-50648CRITICALyshopmall V1.0 has an arbitrary file upload vulnerability, which can enable RCE or even take over the server when improperly configured to pEPSS 1.0%CVE-2023-53902HIGHWebsiteBaker 2.13.3 Directory Traversal via Media Delete EndpointEPSS 1.0%CVE-2021-37500HIGHDirectory traversal vulnerability in Reprise License Manager (RLM) web interface before 14.2BL4 in the diagnostics function that allows RLM EPSS 1.0%CVE-2024-39330MEDIUMAn issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. Derived classes of the django.core.files.storage.Storage base clasEPSS 1.0%CVE-2025-54926HIGHCWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability exists that could cause remote code exeEPSS 1.0%CVE-2024-8671CRITICALWooEvents <= 4.1.2 - Unauthenticated Arbitrary File OverwriteEPSS 1.0%CVE-2016-15055HIGHJVC VN-T IP-Camera Directory Traversal via check.cgiEPSS 1.0%CVE-2026-78657CRITICALSigmaForms Pro <= 1.4.11 - Unauthenticated Arbitrary File Deletion via Path Traversal in File Upload FieldEPSS 1.0%