CVE-2022-26526
Anaconda3 Windows Path Injection Privilege Escalation
Description
Anaconda Anaconda3 (Anaconda Distribution) through 2021.11.0.0 and Miniconda3 through 4.11.0.0 can create a world-writable directory under %PROGRAMDATA% and place that directory into the system PATH environment variable. Thus, for example, local users can gain privileges by placing a Trojan horse file into that directory. (This problem can only happen in a non-default installation. The person who installs the product must specify that it is being installed for all users. Also, the person who installs the product must specify that the system PATH should be changed.
INFO
Published Date :
March 17, 2022, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 6:54 a.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Public PoC/Exploit Available at Github
                                            CVE-2022-26526 has a 1 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-26526.
                                        
| URL | Resource | 
|---|---|
| https://docs.conda.io/en/latest/miniconda.html | Product Vendor Advisory | 
| https://github.com/continuumio/anaconda-issues/issues | Issue Tracking Third Party Advisory | 
| https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 | Exploit Third Party Advisory | 
| https://repo.anaconda.com/miniconda/ | Vendor Advisory | 
| https://docs.conda.io/en/latest/miniconda.html | Product Vendor Advisory | 
| https://github.com/continuumio/anaconda-issues/issues | Issue Tracking Third Party Advisory | 
| https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 | Exploit Third Party Advisory | 
| https://repo.anaconda.com/miniconda/ | Vendor 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-26526 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-26526
            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).
None
automation chocolatey conda npm package-manager pip powershell scoop upm windows winget
PowerShell
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-26526 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2022-26526 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://docs.conda.io/en/latest/miniconda.html Added Reference https://github.com/continuumio/anaconda-issues/issues Added Reference https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Added Reference https://repo.anaconda.com/miniconda/ 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CWE Remap by [email protected]Aug. 08, 2023 Action Type Old Value New Value Changed CWE CWE-426 CWE-732 
- 
                            Modified Analysis by [email protected]Jun. 07, 2022 Action Type Old Value New Value Changed Reference Type https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Exploit https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Exploit, Third Party Advisory Changed Reference Type https://repo.anaconda.com/miniconda/ No Types Assigned https://repo.anaconda.com/miniconda/ Vendor Advisory Changed CPE Configuration OR *cpe:2.3:a:anaconda:anaconda3:*:*:*:*:*:*:*:* versions up to (including) 2021.11.0.0 *cpe:2.3:a:conda:miniconda3:*:*:*:*:*:*:*:* versions up to (including) 11.0.0.0 OR *cpe:2.3:a:anaconda:anaconda3:*:*:*:*:*:*:*:* versions up to (including) 2021.11.0.0 *cpe:2.3:a:conda:miniconda3:*:*:*:*:*:*:*:* versions up to (including) 4.11.0.0 
- 
                            CVE Modified by [email protected]Jun. 07, 2022 Action Type Old Value New Value Changed Description Anaconda Anaconda3 through 2021.11.0.0 and Miniconda3 through 11.0.0.0 can create a world-writable directory under %PROGRAMDATA% and place that directory into the system PATH environment variable. Thus, for example, local users can gain privileges by placing a Trojan horse file into that directory. (This problem can only happen in a non-default installation. The person who installs the product must specify that it is being installed for all users. Also, the person who installs the product must specify that the system PATH should be changed.) Anaconda Anaconda3 (Anaconda Distribution) through 2021.11.0.0 and Miniconda3 through 4.11.0.0 can create a world-writable directory under %PROGRAMDATA% and place that directory into the system PATH environment variable. Thus, for example, local users can gain privileges by placing a Trojan horse file into that directory. (This problem can only happen in a non-default installation. The person who installs the product must specify that it is being installed for all users. Also, the person who installs the product must specify that the system PATH should be changed. Added Reference https://repo.anaconda.com/miniconda/ [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Mar. 23, 2022 Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://docs.conda.io/en/latest/miniconda.html No Types Assigned https://docs.conda.io/en/latest/miniconda.html Product, Vendor Advisory Changed Reference Type https://github.com/continuumio/anaconda-issues/issues No Types Assigned https://github.com/continuumio/anaconda-issues/issues Issue Tracking, Third Party Advisory Changed Reference Type https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 No Types Assigned https://improsec.com/tech-blog/privilege-escalation-vulnerability-in-anaconda3-and-miniconda3 Exploit Added CWE NIST CWE-426 Added CPE Configuration OR *cpe:2.3:a:anaconda:anaconda3:*:*:*:*:*:*:*:* versions up to (including) 2021.11.0.0 *cpe:2.3:a:conda:miniconda3:*:*:*:*:*:*:*:* versions up to (including) 11.0.0.0 
Vulnerability Scoring Details
Base CVSS Score: 7.8
Base CVSS Score: 4.6
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.14 }} 0.04%
score
0.34450
percentile
 
                         
                         
                         
                                             
                                            