Falhas do tipo CWE-22

5.863 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-2023-0454HIGHOrangeScrum version 2.0.11 allows an authenticated external attacker to delete arbitrary local files from the server. This is possible becauEPSS 1.0%CVE-2022-25848HIGHDirectory TraversalEPSS 1.0%CVE-2026-86538HIGHknowns before 0.30.0 Path Traversal via templateFile parameterEPSS 1.0%CVE-2023-4152HIGHFrauscher FDS101 for FAdC/FAdCi path traversal vulnerabilityEPSS 1.0%CVE-2023-2880HIGHFrauscher Sensortechnik Diagnostic System FDS001 for FAdC/FAdCi Path Traversal vulnerabilityEPSS 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-2025-6925MEDIUMDromara RuoYi-Vue-Plus Mail MailController.java path traversalEPSS 1.0%CVE-2026-39365MEDIUMVite has a Path Traversal in Optimized Deps `.map` HandlingEPSS 1.0%CVE-2023-27500CRITICALDirectory Traversal vulnerability in SAP NetWeaver AS for ABAP and ABAP PlatformEPSS 1.0%CVE-2023-27269CRITICALDirectory Traversal vulnerability in SAP NetWeaver AS for ABAP and ABAP PlatformEPSS 1.0%CVE-2025-1106MEDIUMCmsEasy database_admin.php restore_action path traversalEPSS 1.0%CVE-2024-1511CRITICALPath Traversal Vulnerability in parisneo/lollms-webuiEPSS 1.0%CVE-2023-5505MEDIUMBackWPup <= 4.0.1 - Authenticated (Administrator+) Directory TraversalEPSS 1.0%CVE-2023-48383HIGHNetVision Information airPASS - Path TraversalEPSS 1.0%CVE-2023-41344HIGHNCSIST ManageEngine MDM - Path TraversalEPSS 1.0%CVE-2020-7268MEDIUMMcAfee Email Gateway (MEG) - Path Traversal vulnerabilityEPSS 1.0%CVE-2026-8757MEDIUMadenhq hive Delete Request routes_sessions.py _read_events_tail path traversalEPSS 1.0%CVE-2026-40521HIGHFrontAccounting < 2.4.20 Path Traversal RCE via attachment uploadEPSS 1.0%CVE-2026-22199HIGHVoltronic Power SNMP Web Pro 1.1 Path Traversal via upload.cgiEPSS 1.0%CVE-2024-9669HIGHFile Manager Pro – Filester <= 1.8.5 - Authenticated (Administrator+) Local JavaScript File InclusionEPSS 1.0%