← voltar
CVE-2022-29238

Forced Browsing in Jupyter Notebook

CVSS 4.3 MEDIUMEPSS 1.0%CWE-425
Em resumo

O Jupyter Notebook anterior à versão 6.4.12 permitia que usuários autenticados acessassem arquivos e diretórios ocultos mesmo quando deveriam estar bloqueados, desde que conseguissem adivinhar seus nomes. Isso significa que arquivos sensíveis como chaves SSH poderiam ser alcançados quando deveriam ter sido proibidos.

Detalhe técnico

Um usuário autenticado pode contornar o controle de acesso `ContentsManager.allow_hidden = False` fazendo requisições diretas a arquivos ocultos ou dentro de diretórios ocultos, desde que conheça ou adivinhe o caminho do arquivo. A vulnerabilidade exige autenticação prévia e não escala privilégios, mas permite acesso não intencional a arquivos que administradores esperavam tornar inacessíveis pela interface web.

Resumo gerado e traduzido por IA a partir da descrição oficial.
Jupyter Notebook is a web-based notebook environment for interactive computing. Prior to version 6.4.12, authenticated requests to the notebook server with `ContentsManager.allow_hidden = False` only prevented listing the contents of hidden directories, not accessing individual hidden files or files in hidden directories (i.e. hidden files were 'hidden' but not 'inaccessible'). This could lead to notebook configurations allowing authenticated access to files that may reasonably be expected to be disallowed. Because fully authenticated requests are required, this is of relatively low impact. But if a server's root directory contains sensitive files whose only protection from the server is being hidden (e.g. `~/.ssh` while serving $HOME), then any authenticated requests could access files if their names are guessable. Such contexts also necessarily have full access to the server and therefore execution permissions, which also generally grants access to all the same files. So this does not generally result in any privilege escalation or increase in information access, only an additional, unintended means by which the files could be accessed. Version 6.4.12 contains a patch for this issue. There are currently no known workarounds.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Produtos afetados
jupyter · notebook

Quer saber se a sua infraestrutura está exposta a isto?

Falar com a TrueHacking →