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-8551CRITICALPath Traversal in modelscope/agentscopeEPSS 1.0%CVE-2023-0511CRITICALAM Java Policy Agent path traversalEPSS 1.0%CVE-2023-0339CRITICALAM Web Policy Agent path traversalEPSS 1.0%CVE-2024-7693HIGHTeam Johnlong software Raiden MAILD Remote Management System - Arbitrary File Reading through Path TraversalEPSS 1.0%CVE-2025-48817HIGHRemote Desktop Client Remote Code Execution VulnerabilityEPSS 1.0%CVE-2024-43399HIGHMobile Security Framework (MobSF) has a Zip Slip Vulnerability in .a Static Library FilesEPSS 1.0%CVE-2026-56196HIGHWindows Admin Center (WAC) Remote Code Execution VulnerabilityEPSS 1.0%CVE-2025-20059CRITICALPingAM Java Policy Agent path traversalEPSS 1.0%CVE-2024-20449HIGHCisco Nexus Dashboard Fabric Controller Remote Code Execution VulnerabilityEPSS 0.9%CVE-2023-1045LOWMuYuCMS filesdel.html path traversalEPSS 0.9%CVE-2026-50663HIGHGame: Age of Empires II: Definitive Edition Remote Code Execution VulnerabilityEPSS 0.9%CVE-2021-28798HIGHRelative Path Traversal Vulnerability in QTS and QuTS heroEPSS 0.9%CVE-2022-21177There 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-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-29488MEDIUMCreation of files outside the Download Folder through malicious PAR2 filesEPSS 0.9%CVE-2021-32825LOWZipSlip vulnerability in bblfshdEPSS 0.9%CVE-2023-3941CRITICALMultiple arbitrary file writes in ZkTeco-based OEM devicesEPSS 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%