CVE-2022-29238
Forced Browsing in Jupyter Notebook
Description
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.
INFO
Published Date :
June 14, 2022, 6:15 p.m.
Last Modified :
Nov. 21, 2024, 6:58 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update the affected jupyter-notebook, python-notebook and / or python3-notebook packages.
Public PoC/Exploit Available at Github
                                            CVE-2022-29238 has a 2 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2022-29238.
                                        
| URL | Resource | 
|---|---|
| https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg | Third Party Advisory | 
| https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg | Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2022-29238 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2022-29238
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Repositorio creado para la actividad de trazabilidad de vulnerabilidades.
None
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2022-29238 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2022-29238 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Initial Analysis by [email protected]Jun. 24, 2022 Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Changed Reference Type https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg No Types Assigned https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:jupyter:notebook:*:*:*:*:*:*:*:* versions up to (excluding) 6.4.12 
Vulnerability Scoring Details
Base CVSS Score: 4.3
Base CVSS Score: 4
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.41 }} -0.11%
score
0.60555
percentile
 
                         
                         
                         
                                             
                                            