Fallos del tipo CWE-23

547 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-2026-70337HIGHMicrosoft PowerShell Remote Code Execution VulnerabilityEPSS 0.9%CVE-2021-28798HIGHRelative Path Traversal Vulnerability in QTS and QuTS heroEPSS 0.9%CVE-2022-21177—There is a path traversal vulnerability in CAMS for HIS Log Server contained in the following Yokogawa Electric products: CENTUM CS 3000 verEPSS 0.9%CVE-2023-37288MEDIUMSmartBPM.NET - Path TraversalEPSS 0.9%CVE-2024-2318MEDIUMZKTeco ZKBio Media Service Port 9999 download path traversalEPSS 0.9%CVE-2025-59682LOWAn issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. The django.utils.archive.extract() function, uEPSS 0.9%CVE-2022-41335HIGHA relative path traversal vulnerability [CWE-23] in Fortinet FortiOS version 7.2.0 through 7.2.2, 7.0.0 through 7.0.8 and before 6.4.10, ForEPSS 0.9%CVE-2021-38399HIGHHoneywell Experion PKS and ACE Controllers Relative Path TraversalEPSS 0.9%CVE-2021-32825LOWZipSlip vulnerability in bblfshdEPSS 0.9%CVE-2026-76424HIGHCisco ISE Arbitrary File Access VulnerabilityEPSS 0.9%CVE-2023-3941CRITICALMultiple arbitrary file writes in ZkTeco-based OEM devicesEPSS 0.9%CVE-2026-85199HIGHEclipse aeriOS Self-orchestrator versions prior to 1.2.1 contain a path traversal vulnerability in the REST API. User-controlled identifiersEPSS 0.9%CVE-2026-18907HIGHPathTravelsal Vulnerability in com.talpa.hibrowserEPSS 0.9%CVE-2024-22398MEDIUMAn improper Limitation of a Pathname to a Restricted Directory (Path Traversal) vulnerability in SonicWall Email Security Appliance could alEPSS 0.9%CVE-2023-4897HIGHRelative Path Traversal in mintplex-labs/anything-llmEPSS 0.9%CVE-2026-81849HIGHPath traversal in the aws:downloadContent plugin in amazon-ssm-agentEPSS 0.9%CVE-2023-42783HIGHA relative path traversal in Fortinet FortiWLM version 8.6.0 through 8.6.5 and 8.5.0 through 8.5.4 and 8.4.2 through 8.4.0 and 8.3.2 throughEPSS 0.9%CVE-2026-110690HIGHCloud Commander 19.20.2 through 19.21.1 Path Traversal via GET /api/v1/packEPSS 0.9%CVE-2024-10513HIGHPath Traversal in mintplex-labs/anything-llmEPSS 0.9%CVE-2025-7619HIGHWellChoose|BatchSignCS - Arbitrary File Write through Path TraversalEPSS 0.9%