Fallos del tipo CWE-36

131 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-2024-13159CRITICALAbsolute path traversal in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security Update allows a remoteEPSS 99.8%KEVCVE-2018-20250HIGHIn WinRAR versions prior to and including 5.61, There is path traversal vulnerability when crafting the filename field of the ACE format (inEPSS 96.3%KEVCVE-2024-48248HIGHNAKIVO Backup & Replication before 11.0.0.88174 allows absolute path traversal for reading files via getImageByPath to /c/router (this may lEPSS 94.3%KEVCVE-2024-13160CRITICALAbsolute path traversal in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security Update allows a remoteEPSS 91.0%KEVCVE-2024-13161CRITICALAbsolute path traversal in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security Update allows a remoteEPSS 89.8%KEVCVE-2023-3765CRITICALAbsolute Path Traversal in mlflow/mlflowEPSS 67.5%CVE-2025-34392CRITICALBarracuda RMM < 2025.1.1 Service Center Absolute Path Traversal RCEEPSS 24.7%CVE-2025-0851CRITICALPath traversal issue in Deep Java LibraryEPSS 23.3%CVE-2025-68472HIGHMindsDB has improper sanitation of filepath that leads to information disclosure and DOSEPSS 19.2%CVE-2025-57790HIGHPath Traversal VulnerabilityEPSS 16.8%CVE-2021-21586HIGHWyse Management Suite versions 3.2 and earlier contain an absolute path traversal vulnerability. A remote authenticated malicious user couldEPSS 4.0%CVE-2025-46822HIGHUnauthenticated Arbitrary File Read via Absolute PathEPSS 4.0%CVE-2021-1297HIGHCisco Small Business RV160, RV160W, RV260, RV260P, and RV260W VPN Routers Arbitrary File Write VulnerabilitiesEPSS 3.7%CVE-2021-1296HIGHCisco Small Business RV160, RV160W, RV260, RV260P, and RV260W VPN Routers Arbitrary File Write VulnerabilitiesEPSS 3.7%CVE-2024-10811CRITICALAbsolute path traversal in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security Update allows a remoteEPSS 3.5%CVE-2024-21323HIGHMicrosoft Defender for IoT Remote Code Execution VulnerabilityEPSS 3.2%CVE-2024-29053HIGHMicrosoft Defender for IoT Remote Code Execution VulnerabilityEPSS 3.2%CVE-2026-28414HIGHGradio has Absolute Path Traversal on Windows with Python 3.13+EPSS 3.1%CVE-2021-1618MEDIUMCisco Intersight Virtual Appliance VulnerabilitiesEPSS 2.7%CVE-2023-36786HIGHSkype for Business Remote Code Execution VulnerabilityEPSS 2.5%