Fallos del tipo CWE-36

130 resultados

Travessia de diretório via caminho absoluto não validado

A aplicação recebe um caminho de arquivo do usuário e o coloca dentro de um diretório restrito, mas não valida se o caminho é absoluto (começando com /) ou contém sequências que escapam dessa restrição. Um atacante fornece um caminho como /etc/passwd e consegue acessar qualquer lugar do sistema de arquivos, não apenas o diretório pretendido.

Ejemplo

Uma API recebe ?arquivo=../../etc/passwd ou arquivo=/etc/shadow e tenta salvar em /uploads/arquivo, mas não neutraliza o caminho absoluto ou as sequências de escape. O arquivo é acessado fora da pasta segura. CVEs reais envolvem plataformas de compartilhamento de arquivos e serviços web que confiam na entrada do usuário sem sanitização.

Cómo mitigar

Valide e normalize todo caminho recebido: rejeite caminhos absolutos (com /), remova ../ e qualquer sequência de escape, e confirme que o caminho final fica dentro do diretório autorizado. Use funções seguras de manipulação de caminhos da linguagem (realpath, Path.resolve, etc.) e compare o resultado com o prefixo permitido.

CVE-2023-5390MEDIUMAn attacker could potentially exploit this vulnerability, leading to files being read from the Honeywell Experion ControlEdge VirtualUOC andEPSS 0.6%CVE-2026-6418MEDIUMPaperCut NG/MF: Path Traversal in Shared Account SynchronizationEPSS 0.6%CVE-2024-56321LOWGoCD can allow malicious GoCD admins to abuse backup configuration to gain additional host accessEPSS 0.5%CVE-2023-30970MEDIUMGotham table and Forward App Path traversalEPSS 0.5%CVE-2024-51549CRITICALAbsolute Path TraversalEPSS 0.5%CVE-2025-0001MEDIUMauthenticated arbitrary file read vulnerabilityEPSS 0.5%CVE-2025-9258HIGHUniong|WebITR - Arbitrary File Reading through Path TraversalEPSS 0.5%CVE-2025-9259HIGHUniong|WebITR - Arbitrary File Reading through Path TraversalEPSS 0.5%CVE-2025-9257HIGHUniong|WebITR - Arbitrary File Reading through Path TraversalEPSS 0.5%CVE-2025-9256HIGHUniong|WebITR - Arbitrary File Reading through Path TraversalEPSS 0.5%CVE-2026-15302MEDIUMARMember <= 4.0.27 - Directory Traversal via X-FILENAMEEPSS 0.5%CVE-2026-32997HIGHA vulnerability allowing an authenticated user with the Backup Administrator role to write arbitrary files on Linux-based Veeam Backup & RepEPSS 0.5%CVE-2025-8213HIGHNinjaScanner – Virus & Malware scan <= 3.2.5 - Authenticated (Administrator+) Arbitrary File DeletionEPSS 0.5%CVE-2024-6097MEDIUMAbsolute Path Traversal VulnerabilityEPSS 0.5%CVE-2026-4782MEDIUMAvada Builder <= 3.15.2 - Authenticated (Subscriber+) Arbitrary File Read via 'custom_svg' Shortcode ParameterEPSS 0.5%CVE-2025-15227HIGHWELLTEND TECHNOLOGY| BPMFlowWebkit - Arbitrary File ReadEPSS 0.5%CVE-2025-53079MEDIUMAbsolute Path Traversal in Samsung DMS(Data Management Server) allows authenticated attacker (Administrator) to read sensitive filesEPSS 0.5%CVE-2026-2753HIGHAn Absolute Path Traversal vulnerability exists in Navtor NavBox. The application exposes an HTTP service that fails to properly sanitize usEPSS 0.5%CVE-2026-7217MEDIUMDeepractice PromptX Document File index.ts read_pdf absolute path traversalEPSS 0.4%CVE-2026-35465HIGHSecureDrop Client has path injection in read_gzip_header_filename()EPSS 0.4%