CVE-2020-26233
Git Credential Manager Core Windows Git Execute Path Hijack Vulnerability
Description
Git Credential Manager Core (GCM Core) is a secure Git credential helper built on .NET Core that runs on Windows and macOS. In Git Credential Manager Core before version 2.0.289, when recursively cloning a Git repository on Windows with submodules, Git will first clone the top-level repository and then recursively clone all submodules by starting new Git processes from the top-level working directory. If a malicious git.exe executable is present in the top-level repository then this binary will be started by Git Credential Manager Core when attempting to read configuration, and not git.exe as found on the %PATH%. This only affects GCM Core on Windows, not macOS or Linux-based distributions. GCM Core version 2.0.289 contains the fix for this vulnerability, and is available from the project's GitHub releases page. GCM Core 2.0.289 is also bundled in the latest Git for Windows release; version 2.29.2(3). As a workaround, users should avoid recursively cloning untrusted repositories with the --recurse-submodules option.
INFO
Published Date :
Dec. 8, 2020, 8:15 p.m.
Last Modified :
Feb. 18, 2021, 2:39 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.8
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2020-26233 has a 4 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-2020-26233
.
URL | Resource |
---|---|
https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/ | Exploit Third Party Advisory |
https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt | Third Party Advisory |
https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76 | Patch Third Party Advisory |
https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta | Release Notes Third Party Advisory |
https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76 | Third Party Advisory |
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).
zomotoa food app
None
None
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-2020-26233
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-26233
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 -
Modified Analysis by [email protected]
Feb. 18, 2021
Action Type Old Value New Value Changed Reference Type https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/ No Types Assigned https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/ Exploit, Third Party Advisory -
CVE Modified by [email protected]
Jan. 15, 2021
Action Type Old Value New Value Added Reference https://blog.blazeinfosec.com/attack-of-the-clones-2-git-command-client-remote-code-execution-strikes-back/ [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 11, 2020
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:H/Au:S/C:P/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N Changed Reference Type https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76 No Types Assigned https://github.com/microsoft/Git-Credential-Manager-Core/commit/61c0388e064babb3b4e60d3ec269e8a07ab3bc76 Patch, Third Party Advisory Changed Reference Type https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta No Types Assigned https://github.com/microsoft/Git-Credential-Manager-Core/releases/tag/v2.0.289-beta Release Notes, Third Party Advisory Changed Reference Type https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76 No Types Assigned https://github.com/microsoft/Git-Credential-Manager-Core/security/advisories/GHSA-2gq7-ww4j-3m76 Third Party Advisory Changed Reference Type https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt No Types Assigned https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt Third Party Advisory Added CWE NIST CWE-706 Added CPE Configuration OR *cpe:2.3:a:microsoft:git_credential_manager_core:*:*:*:*:*:windows:*:* versions up to (excluding) 2.0.289
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-26233
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-2020-26233
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} 0.00%
score
0.42663
percentile