Falhas do tipo CWE-23

509 resultados

Traversal de diretório por falta de validação de caminho

O software usa entrada externa para construir um caminho de arquivo, mas não neutraliza sequências como '..' que podem escapar do diretório restrito. Um atacante pode acessar ou manipular arquivos fora da área permitida usando essas sequências de navegação.

Exemplo

Uma API de download de documentos recebe o parâmetro 'arquivo=relatorio.pdf' e monta o caminho '/home/docs/' + arquivo. Se o atacante enviar 'arquivo=../../etc/passwd', o caminho resultante '/home/docs/../../etc/passwd' resolve para '/etc/passwd', expondo informações sensíveis do sistema.

Como mitigar

Valide e normalize o caminho completo resolvido (use realpath() ou Path.resolve()) e verifique se fica dentro do diretório permitido; alterne para uma whitelist de arquivos conhecidos ou use índices seguros em vez de construir caminhos diretamente com entrada do usuário.

CVE-2024-11309HIGHTRCore DVC - Arbitrary File Read through Path TraversalEPSS 0.7%CVE-2024-11310HIGHTRCore DVC - Arbitrary File Read through Path TraversalEPSS 0.7%CVE-2021-4459MEDIUMSMA: Directory Traversal in Sunny Boy <3.10.27.REPSS 0.7%CVE-2022-23531MEDIUMArbitrary file write when scanning a specially-crafted local PyPI packageEPSS 0.7%CVE-2024-22421HIGHPotential authentication and CSRF tokens leak in JupyterLabEPSS 0.7%CVE-2026-14476HIGHSssd: sssd: gpo cache path traversal via unsanitized gpcfilesyspath allows kerberos authentication bypassEPSS 0.7%CVE-2026-66897CRITICALInstance template path traversal allows arbitrary host file write as rootEPSS 0.7%CVE-2024-9983HIGHRagic Enterprise Cloud Database - Arbitrary File Read through Path TraversalEPSS 0.7%CVE-2024-9922HIGHTEAMPLUS TECHNOLOGY Team+ - Arbitrary File Read through Path TraversalEPSS 0.7%CVE-2024-13791MEDIUMBit Assist <= 1.5.2 - Path Traversal to Authenticated (Administrator+) Arbitrary File Read via downloadResponseFile FunctionEPSS 0.7%CVE-2026-18907HIGHPathTravelsal Vulnerability in com.talpa.hibrowserEPSS 0.7%CVE-2025-66737MEDIUMYealink T21P_E2 Phone 52.84.0.15 is vulnerable to Directory Traversal. A remote normal privileged attacker can read arbitrary files via a crEPSS 0.7%CVE-2023-45858HIGHA directory traversal was identified in Paessler PRTG before 23.4.88.1429 that made it possible to read local files.EPSS 0.7%CVE-2026-1022HIGHGotac|Statistics Database System - Arbitrary File ReadEPSS 0.7%CVE-2022-2106LOWElcomplus SmartICS Path TraversalEPSS 0.7%CVE-2024-43614MEDIUMMicrosoft Defender for Endpoint for Linux Spoofing VulnerabilityEPSS 0.6%CVE-2023-23391MEDIUMOffice for Android Spoofing VulnerabilityEPSS 0.6%CVE-2025-23410CRITICALGMOD Apollo Relative Path TraversalEPSS 0.6%CVE-2024-47637HIGHWordPress LiteSpeed Cache plugin <= 6.4.1 - Path Traversal vulnerabilityEPSS 0.6%CVE-2022-42474MEDIUMA relative path traversal vulnerability [CWE-23] in Fortinet FortiOS version 7.2.0 through 7.2.3, version 7.0.0 through 7.0.9 and before 6.4EPSS 0.6%