Fallos del tipo CWE-23

509 resultados

Travessia de diretório via normalização de caminho inadequada

A aplicação constrói caminhos de arquivo usando entrada do usuário sem neutralizar sequências como '..' (parent directory), permitindo acesso a arquivos fora do diretório restrito pretendido. Mesmo com validações parciais, um atacante consegue contorná-las usando variações de codificação ou normalização diferida.

Ejemplo

Um sistema de gerenciamento de documentos valida se o arquivo solicitado começa com '/uploads/', mas não normaliza '..' antes da validação. Requisição GET /document?file=/uploads/../../../etc/passwd permite ler /etc/passwd. O '..' é processado após a validação passar.

Cómo mitigar

Normalize o caminho completo (resolver symlinks, '..' e '.') ANTES de qualquer validação, depois verifique se o resultado está dentro do diretório permitido. Use APIs seguras da linguagem (realpath em C, Path.getCanonicalPath em Java, Path.resolve e comparação em Python) e sempre implemente validação com whitelist, não blacklist de caracteres.

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%