Falhas do tipo CWE-22

6.631 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-29253LOWPath Traversal in XWiki PlatformEPSS 1.1%CVE-2026-22786HIGHGin-vue-admin has arbitrary file upload vulnerability caused by path traversalEPSS 1.1%CVE-2025-13810MEDIUMjsnjfz WebStack-Guns KaptchaController.java renderPicture path traversalEPSS 1.1%CVE-2024-11642CRITICALPost Grid Master <= 3.4.12 - Missing Authorization to Unauthenticated Local PHP File InclusionEPSS 1.1%CVE-2026-14524CRITICALProSolution WP Client <= 2.0.8 - Unauthenticated Arbitrary File Deletion via 'newfilename' and 'filename' ParametersEPSS 1.1%CVE-2020-37041HIGHOpenCTI 3.3.1 - Directory TraversalEPSS 1.1%CVE-2023-48243HIGHThe vulnerability allows a remote attacker to upload arbitrary files in all paths of the system under the context of the application OS userEPSS 1.1%CVE-2026-5436HIGHMW WP Form <= 5.1.1 - Unauthenticated Arbitrary File Move via regenerate_upload_file_keysEPSS 1.1%CVE-2025-27783HIGHApplio allows arbitrary file write in train.pyEPSS 1.1%CVE-2021-41547—A vulnerability has been identified in Teamcenter Active Workspace V4.3 (All versions < V4.3.11), Teamcenter Active Workspace V5.0 (All versEPSS 1.1%CVE-2026-44024CRITICALFluentd: Remote Code Execution (RCE) via Arbitrary File Write in `${tag}` PlaceholderEPSS 1.1%CVE-2023-52076HIGHRemote Code Execution Vulnerability in Atril's EPUB ebook parsingEPSS 1.1%CVE-2024-7514MEDIUMWordPress Comments Import & Export <= 2.3.7 - Authenticated (Author+) Arbitrary File Read via Directory TraversalEPSS 1.1%CVE-2026-19942HIGHAtarim <= 5.1.1 - Authenticated (Author+) Arbitrary File Deletion via '_wp_attached_file' MetaEPSS 1.1%CVE-2023-1467MEDIUMSourceCodester Student Study Center Desk Management System POST Parameter path traversalEPSS 1.1%CVE-2022-39022MEDIUMe-Excellence Inc. U-Office Force - Path TraversalEPSS 1.1%CVE-2022-39023MEDIUMe-Excellence Inc. U-Office Force - Path TraversalEPSS 1.1%CVE-2026-53451CRITICALGround Station: Unauthenticated arbitrary file write (path traversal) in save-waterfall-snapshot leads to remote code executionEPSS 1.1%CVE-2024-46375CRITICALBest House Rental Management System 1.0 contains an arbitrary file upload vulnerability in the signup() function of the file rental/admin_clEPSS 1.1%CVE-2026-41463HIGHProjeQtor < 12.4.4 ZipSlip Path Traversal via uploadPlugin.phpEPSS 1.1%