CVE-2022-26488
Python Path Hijacking Vulnerability
Description
In Python before 3.10.3 on Windows, local users can gain privileges because the search path is inadequately secured. The installer may allow a local attacker to add user-writable directories to the system search path. To exploit, an administrator must have installed Python for all users and enabled PATH entries. A non-administrative user can trigger a repair that incorrectly adds user-writable paths into PATH, enabling search-path hijacking of other users and system services. This affects Python (CPython) through 3.7.12, 3.8.x through 3.8.12, 3.9.x through 3.9.10, and 3.10.x through 3.10.2.
INFO
Published Date :
March 10, 2022, 5:47 p.m.
Last Modified :
Nov. 7, 2023, 3:45 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2022-26488 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2022-26488
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
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-26488
.
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).
POC Exploit for CVE-2022-26488 - Python for Windows (CPython) escalation of privilege vulnerability, discovered by the Lockheed Martin Red Team.
PowerShell C
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-26488
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-26488
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://mail.python.org/archives/list/security-announce%40python.org/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN/ [No types assigned] Removed Reference MITRE https://mail.python.org/archives/list/[email protected]/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN/ -
Modified Analysis by [email protected]
Sep. 03, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220419-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20220419-0005/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 19, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220419-0005/ [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 18, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://mail.python.org/archives/list/[email protected]/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN/ No Types Assigned https://mail.python.org/archives/list/[email protected]/thread/657Z4XULWZNIY5FRP3OWXHYKUSIH6DMN/ Patch, Vendor Advisory Added CWE NIST CWE-426 Added CPE Configuration AND OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (including) 3.7.12 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.8.0 up to (including) 3.8.12 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (including) 3.9.10 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.10.0 up to (including) 3.10.2 *cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:* *cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:* OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
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-26488
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-26488
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.05635
percentile