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-2025-33112HIGHIBM AIX command executionEPSS 0.2%CVE-2022-42476HIGHA 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.11, ForEPSS 0.2%CVE-2025-24819MEDIUMA Relative Path Traversal vulnerability in Nokia MantaRay NMEPSS 0.2%CVE-2026-33206HIGHcalibre has a path traversal vulnerabilityEPSS 0.2%CVE-2026-22070HIGHColorOS Assistant Path Traversal VulnerabilityEPSS 0.2%CVE-2026-58481MEDIUMNetwork-AI: AgentRuntime sandbox path-prefix checks allow file access outside the configured base directoryEPSS 0.2%CVE-2026-58413MEDIUMEnvironmentManager.restore() backup ID path traversal copies arbitrary directories into environment dataEPSS 0.2%CVE-2024-54461LOWUnsanitized Filenames in Flutter package file_selector_android Allow File OverwritesEPSS 0.2%CVE-2024-54462LOWUnsanitized Filenames in Flutter package image_picker_android Allow File OverwritesEPSS 0.2%CVE-2022-34378MEDIUMDell PowerScale OneFS, versions 9.0.0 up to and including 9.1.0.20, 9.2.1.13, 9.3.0.6, and 9.4.0.3, contain a relative path traversal vulnerEPSS 0.2%CVE-2025-10203HIGHRelative Path Traversal Vulnerability in Digilent WaveFormsEPSS 0.2%CVE-2022-33937HIGHDell GeoDrive, Versions 1.0 - 2.2, contain a Path Traversal Vulnerability in the reporting function. A local, low privileged attacker could EPSS 0.2%CVE-2023-34117LOWRelative path traversal in the Zoom Client SDK before version 5.15.0 may allow an unauthorized user to enable information disclosure via locEPSS 0.2%CVE-2026-24909MEDIUMvlt before 1.0.0-rc.10 mishandles path sanitization for tar, leading to path traversal during extraction.EPSS 0.2%CVE-2026-41046HIGHpath traversal via `config` parameter in qSnapperEPSS 0.2%CVE-2026-50181HIGHLangroid: Path traversal in the file tools allows read/write outside configured current directoryEPSS 0.2%CVE-2025-62187LOWIn Ankitects Anki before 25.02.6, crafted sound file references could cause files to be written to arbitrary locations on Windows and Linux EPSS 0.2%CVE-2024-40588MEDIUMMultiple relative path traversal vulnerabilities [CWE-23] vulnerability in Fortinet FortiCamera 2.1 all versions, FortiCamera 2.0.0, FortiCaEPSS 0.2%CVE-2025-55115CRITICALBMC Control-M/Agent path traversal local privilege escalationEPSS 0.2%CVE-2026-53416HIGHZoom VDI - Path TraversalEPSS 0.2%