Falhas do tipo CWE-22

5.839 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-2025-34023HIGHKarel IP Phone IP1211 Path TraversalEPSS 1.6%CVE-2023-51603HIGHHoneywell Saia PG5 Controls Suite CAB File Parsing Directory Traversal Remote Code Execution VulnerabilityEPSS 1.6%CVE-2021-24549—AceIDE <= 2.6.2 - Authenticated (admin+) Arbitrary File AccessEPSS 1.6%CVE-2024-5752CRITICALPath Traversal in stitionai/devikaEPSS 1.6%CVE-2021-33005HIGHmySCADA myPRO Path TraversalEPSS 1.6%CVE-2025-66744HIGHIn Yonyou YonBIP v3 and before, the LoginWithV8 interface in the series data application service system is vulnerable to path traversal, allEPSS 1.6%CVE-2020-36893HIGHEibiz i-Media Server Digital Signage 3.8.0 Directory Traversal VulnerabilityEPSS 1.6%CVE-2021-26629HIGHtobesoft XPLATFORM Path Traversal VulnerabilityEPSS 1.6%CVE-2021-34701MEDIUMCisco Unified Communications Products Path Traversal VulnerabilityEPSS 1.6%CVE-2025-45890CRITICALDirectory Traversal vulnerability in novel plus before v.5.1.0 allows a remote attacker to execute arbitrary code via the filePath parameterEPSS 1.6%CVE-2024-1132HIGHKeycloak: path transversal in redirection validationEPSS 1.6%CVE-2022-1166—JobMonster < 4.6.6.1 - Directory Listing in Upload FolderEPSS 1.6%CVE-2022-24897HIGHArbitrary filesystem write access from VelocityEPSS 1.6%CVE-2026-27606HIGHRollup 4 has Arbitrary File Write via Path TraversalEPSS 1.5%CVE-2024-11239MEDIUMLandray EKP API Interface import.do deleteFile path traversalEPSS 1.5%CVE-2022-24843HIGHPath Traversal in github.com/flipped-aurora/gin-vue-adminEPSS 1.5%CVE-2022-43514HIGHA vulnerability has been identified in Automation License Manager V5 (All versions), Automation License Manager V6 (All versions < V6.0 SP9 EPSS 1.5%CVE-2023-38346HIGHAn issue was discovered in Wind River VxWorks 6.9 and 7. The function ``tarExtract`` implements TAR file extraction and thereby also processEPSS 1.5%CVE-2025-47273HIGHsetuptools has a path traversal vulnerability in PackageIndex.download that leads to Arbitrary File WriteEPSS 1.5%CVE-2023-46253CRITICALRemote code execution in SquidexEPSS 1.5%