Falhas do tipo CWE-22

5.992 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-29836LOWPost-Auth Path Traversal Vulnerability Allows to Custom Package Installation via HTTP APIEPSS 0.3%CVE-2021-35230MEDIUMUnquoted Path Vulnerability (SMB Login) in Kiwi CatToolsEPSS 0.3%CVE-2026-104721MEDIUMLogback: Incomplete protection against CVE-2026-19880EPSS 0.3%CVE-2026-23521MEDIUMTraccar vulnerable to Path Traversal and External Control of File Name or PathEPSS 0.3%CVE-2026-19880MEDIUMIncomplete protection against CVE-2025-11226EPSS 0.3%CVE-2024-23772MEDIUMAn issue was discovered in Quest KACE Agent for Windows 12.0.38 and 13.1.23.0. An Arbitrary file create vulnerability exists in the KSchedulEPSS 0.3%CVE-2026-105174MEDIUMGerapy Project Management views.py project_create path traversalEPSS 0.3%CVE-2025-68002MEDIUMWordPress Open User Map plugin <= 1.4.16 - Arbitrary File Download vulnerabilityEPSS 0.3%CVE-2026-65713MEDIUMJoomla Extension - regularlabs.com - Insecure path handling in Modals Pro extensionEPSS 0.3%CVE-2026-64872MEDIUMJoomla Extension - regularlabs.com - Path traversal in Cache Cleaner Pro extensionEPSS 0.3%CVE-2026-12482LOWPath Traversal via Symlink Name Validation Bypass in keras-team/kerasEPSS 0.3%CVE-2026-41885MEDIUMPath traversal / URL injection via unsanitised lng/ns/projectId/version in i18next-locize-backendEPSS 0.3%CVE-2026-102843MEDIUMgedelumbung HospitalManagement Endpoint data_galeri.php hapus path traversalEPSS 0.3%CVE-2026-45571MEDIUMgo-git: Crafted repositories may modify main and submodule .git directoriesEPSS 0.3%CVE-2026-53956MEDIUMRattler vulnerable to package cache path traversal via conda package build stringEPSS 0.3%CVE-2026-63416LOWdraw.io: Path traversal in ExportProxyServlet allows access to arbitrary backend endpointsEPSS 0.3%CVE-2026-67245HIGHA path traversal vulnerability was found in the VPN Clients on the ADMEPSS 0.3%CVE-2026-48350HIGHAnimate | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22)EPSS 0.3%CVE-2026-56352MEDIUMn8n - Arbitrary File Read and Execution via ExecuteWorkflow localFile ParameterEPSS 0.3%CVE-2019-25740HIGHJoomla com_jsjobs 1.2.6 Arbitrary File DeletionEPSS 0.3%