Falhas do tipo CWE-22

5.865 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-2022-31194HIGHPath traversal vulnerabilities in DSpace JSPUI submission uploadEPSS 1.1%CVE-2022-24851HIGHStored XSS and path traversal in LDAPAccountManager/lamEPSS 1.1%CVE-2021-41149HIGHImproper sanitization of target names in toughEPSS 1.1%CVE-2026-36227MEDIUMDirectory Traversal vulnerability in Easy Chat Server 3.1 allows a remote attacker to obtain sensitive information and execute arbitrary codEPSS 1.1%CVE-2021-33182MEDIUMImproper limitation of a pathname to a restricted directory ('Path Traversal') vulnerability in PDF Viewer component in Synology DiskStationEPSS 1.1%CVE-2022-25937MEDIUMVersions of the package glance before 3.0.9 are vulnerable to Directory Traversal that allows users to read files outside the public root diEPSS 1.1%CVE-2026-52680CRITICALApache Kyuubi: REST batch multipart upload path traversal allows controlled file writeEPSS 1.1%CVE-2022-20727MEDIUMCisco IOx Application Hosting Environment VulnerabilitiesEPSS 1.1%CVE-2025-3065CRITICALDatabase Toolset <= 1.8.4 - Unauthenticated Arbitrary File DeletionEPSS 1.1%CVE-2026-80104CRITICALDB-GPT 0.8.0 Path Traversal Arbitrary File Write via Skill Upload FilenameEPSS 1.1%CVE-2025-9566HIGHPodman: podman kube play command may overwrite host filesEPSS 1.1%CVE-2025-54386HIGHTraefik's Client Plugin is Vulnerable to Path Traversal, Arbitrary File Overwrites and Remote Code ExecutionEPSS 1.1%CVE-2023-6352MEDIUMAquaforest TIFF Server default configuration allows access to arbitrary filesEPSS 1.1%CVE-2025-31359HIGHA directory traversal vulnerability exists in the PVMP package unpacking functionality of Parallels Desktop for Mac version 20.2.2 (55879). EPSS 1.1%CVE-2023-4593MEDIUMPath Traversal in BVRP Software SLmailEPSS 1.1%CVE-2019-25574HIGHGreen CMS 2.x Path Traversal Arbitrary File DownloadEPSS 1.1%CVE-2024-3403HIGHLocal File Inclusion in imartinez/privategptEPSS 1.1%CVE-2026-15056MEDIUMStoreEngine <= 2.1.1 - Authenticated (Vendor+) Arbitrary File Read via Path Traversal in Downloadable File URLEPSS 1.1%CVE-2026-39276HIGHThe template upload feature in Emlog Pro v2.6.9 has a path traversal vulnerability, allowing authenticated administrators to execute arbitraEPSS 1.1%CVE-2026-67395MEDIUMA path traversal vulnerability exists in Sage Employee Self Service’s custom logo functionality due to improper validation of file path paraEPSS 1.1%