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-2024-29180HIGHwebpack-dev-middleware Path Traversal vulnerabilityEPSS 1.2%CVE-2026-42780MEDIUMBIG-IP SSL Orchestrator vulnerabilityEPSS 1.2%CVE-2025-6806HIGHMarvell QConvergeConsole decryptFile Directory Traversal Arbitrary File Write VulnerabilityEPSS 1.2%CVE-2025-6801HIGHMarvell QConvergeConsole saveNICParamsToFile Directory Traversal Arbitrary File Write VulnerabilityEPSS 1.2%CVE-2023-32767HIGHThe web interface of Symcon IP-Symcon before 6.3 (i.e., before 2023-05-12) allows a remote attacker to read sensitive files via .. directoryEPSS 1.2%CVE-2023-30380HIGHAn issue in the component /dialog/select_media.php of DedeCMS v5.7.107 allows attackers to execute a directory traversal.EPSS 1.2%CVE-2023-44256MEDIUMA server-side request forgery vulnerability [CWE-918] in Fortinet FortiAnalyzer version 7.4.0, version 7.2.0 through 7.2.3 and before 7.0.8 EPSS 1.2%CVE-2026-22739HIGHSpring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF AttacksEPSS 1.2%CVE-2026-9181CRITICALDirectory Traversal in ArcGIS ServerEPSS 1.2%CVE-2026-15979HIGHContent Egg <= 11.3.0 - Authenticated (Author+) Arbitrary File DeletionEPSS 1.2%CVE-2023-3813HIGHJupiter X Core <= 4.6.6 - Unauthenticated Arbitrary File DownloadEPSS 1.2%CVE-2017-0930—augustine node module suffers from a Path Traversal vulnerability due to lack of validation of url, which allows a malicious user to read coEPSS 1.2%CVE-2026-76432MEDIUMCisco Identity Services Engine Arbitrary File Write VulnerabilityEPSS 1.2%CVE-2026-76431MEDIUMCisco Identity Services Engine Arbitrary File Deletion VulnerabilityEPSS 1.2%CVE-2021-33726—A vulnerability has been identified in SINEC NMS (All versions < V1.0 SP2 Update 1). The affected system allows to download arbitrary files EPSS 1.2%CVE-2021-33555HIGHA vulnerability may allow remote attackers to read arbitrary files on the server of the WirelessHART-GatewayEPSS 1.2%CVE-2024-1974HIGHHT Mega – Absolute Addons For Elementor <= 2.4.5 - Authenticated (Contributor+) Directory TraversalEPSS 1.2%CVE-2025-58751LOWVite middleware may serve files starting with the same name with the public directoryEPSS 1.2%CVE-2026-34070HIGHLangChain Core has Path Traversal vulnerabilites in legacy `load_prompt` functionsEPSS 1.2%CVE-2023-36822MEDIUMUptime Kuma authenticated path traversal via plugin repository name may lead to unavailability or data lossEPSS 1.2%