Fallos del tipo CWE-22

6630 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-2024-5752CRITICALPath Traversal in stitionai/devikaEPSS 1.6%CVE-2022-50796CRITICALSOUND4 IMPACT/FIRST/PULSE/Eco <=2.x Unauthenticated Remote Code Execution via upload.cgiEPSS 1.6%CVE-2022-46255CRITICALImproper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCEEPSS 1.6%CVE-2021-26629HIGHtobesoft XPLATFORM Path Traversal VulnerabilityEPSS 1.6%CVE-2021-34701MEDIUMCisco Unified Communications Products Path Traversal VulnerabilityEPSS 1.6%CVE-2022-27610MEDIUMImproper limitation of a pathname to a restricted directory ('Path Traversal') vulnerability in webapi component in Synology DiskStation ManEPSS 1.6%CVE-2022-33165MEDIUMIBM Security Directory Server information disclosureEPSS 1.6%CVE-2025-45890CRITICALDirectory Traversal vulnerability in novel plus before v.5.1.0 allows a remote attacker to execute arbitrary code via the filePath parameterEPSS 1.6%CVE-2025-49656HIGHApache Jena: Administrative users can create files outside the server directory space via the admin UIEPSS 1.6%CVE-2026-23482HIGHBlinko: Unauthorized Arbitrary File Read - /api/file/tempEPSS 1.6%CVE-2026-26975HIGHMusic Assistant Server Path Traversal in Playlist Update API Allows Remote Code ExecutionEPSS 1.6%CVE-2024-1132HIGHKeycloak: path transversal in redirection validationEPSS 1.6%CVE-2022-1166—JobMonster < 4.6.6.1 - Directory Listing in Upload FolderEPSS 1.6%CVE-2026-102089HIGHKiteworks Email Protection Gateway path traversalEPSS 1.5%CVE-2024-11239MEDIUMLandray EKP API Interface import.do deleteFile path traversalEPSS 1.5%CVE-2025-66744HIGHIn Yonyou YonBIP v3 and before, the LoginWithV8 interface in the series data application service system is vulnerable to path traversal, allEPSS 1.5%CVE-2022-24843HIGHPath Traversal in github.com/flipped-aurora/gin-vue-adminEPSS 1.5%CVE-2021-4463HIGHLongjing Technology BEMS API <= 1.21 Remote Arbitrary File DownloadEPSS 1.5%CVE-2023-38346HIGHAn issue was discovered in Wind River VxWorks 6.9 and 7. The function ``tarExtract`` implements TAR file extraction and thereby also processEPSS 1.5%CVE-2020-15124CRITICALPath traversal in Goobi viewer CoreEPSS 1.5%