Fallos del tipo CWE-22

5815 resultados

Travessia de diretório (path traversal)

A aplicação constrói caminhos de arquivo a partir de entrada do usuário sem validar adequadamente sequências como '../' ou símbolos absolutos, permitindo que um atacante acesse arquivos fora do diretório permitido. Isso expõe dados sensíveis ou permite execução não autorizada de operações no sistema de arquivos.

Ejemplo

Um sistema web que serve documentos de um diretório específico recebe a requisição 'GET /doc?file=../../etc/passwd'. Se não validar a entrada, o código resolve o caminho para fora do diretório restrito e vaza o arquivo de senhas do sistema.

Cómo mitigar

Valide caminhos usando listas brancas de nomes de arquivo permitidos, normalize caminhos (remover '../' e símbolos), use APIs que isolem automaticamente operações em diretório base (ex: chroot, sandbox), e evite concatenar entrada direta em construtores de caminhos. Teste com payloads comuns de path traversal em testes de segurança.

CVE-2021-35250HIGHDirectory Transversal Vulnerability in Serv-U 15.3EPSS 12.8%CVE-2024-34854CRITICALF-logic DataCube3 v1.0 is vulnerable to File Upload via `/admin/transceiver_schedule.php.`EPSS 12.8%CVE-2026-1056CRITICALSnow Monkey Forms <= 12.0.3 - Unauthenticated Arbitrary File Deletion via Path TraversalEPSS 12.7%CVE-2025-5964HIGHPath traversal in M-Files APIEPSS 12.7%CVE-2026-27825CRITICALMCP Atlassian has an arbitrary file write leading to arbitrary code execution via unconstrained download_path in confluence_download_attachmentEPSS 12.7%CVE-2021-21251HIGHZipSlip Arbitrary File UploadEPSS 12.7%CVE-2025-3577MEDIUM**UNSUPPORTED WHEN ASSIGNED** A path traversal vulnerability in the web management interface of the Zyxel AMG1302-T10B firmware version 2.00EPSS 12.5%CVE-2025-14704MEDIUMShiguangwu sgwbox N3 API eshell path traversalEPSS 12.5%CVE-2023-22629HIGHAn issue was discovered in TitanFTP through 1.94.1205. The move-file function has a path traversal vulnerability in the newPath parameter. AEPSS 12.3%CVE-2026-28208MEDIUMJunrar has arbitrary file write due to backslash path traversal bypass in LocalFolderExtractor on Linux/UnixEPSS 12.0%CVE-2022-29799MEDIUMA vulnerability was found in networkd-dispatcher. This flaw exists because no functions are sanitized by the OperationalState or the AdminisEPSS 11.8%CVE-2024-8752CRITICALWebIQ 2.15.9 Runtime on Windows - Directory Traversal VulnerabilityEPSS 11.8%CVE-2022-3184CRITICALDataprobe iBoot-PDU FW versions prior to 1.42.06162022 contain a vulnerability where the device’s existing firmware allows unauthenticated uEPSS 11.6%CVE-2023-26256HIGHAn unauthenticated path traversal vulnerability affects the "STAGIL Navigation for Jira - Menu & Themes" plugin before 2.0.52 for Jira. By mEPSS 11.6%CVE-2018-1002200—plexus-archiver before 3.6.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) EPSS 11.6%CVE-2020-15639CRITICALThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Marvell QConvergeConsole 5.5.0.64. AuthentEPSS 11.5%CVE-2017-12263—A vulnerability in the web interface of Cisco License Manager software could allow an unauthenticated, remote attacker to download and view EPSS 11.5%CVE-2024-38878MEDIUMA vulnerability has been identified in Omnivise T3000 Application Server R9.2 (All versions), Omnivise T3000 R8.2 SP3 (All versions), OmniviEPSS 11.5%CVE-2025-4185MEDIUMWangshen SecGate 3600 g=obj_area_export_save path traversalEPSS 11.4%CVE-2024-40422CRITICALThe snapshot_path parameter in the /api/get-browser-snapshot endpoint in stitionai devika v1 is susceptible to a path traversal attack. An aEPSS 11.3%