PT-2016-4079 · Git · Git-Fastclone
Bburky
·
Published
2016-11-03
·
Updated
2020-06-10
·
CVE-2015-8968
CVSS v2.0
9.3
High
| Vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
git-fastclone versions prior to 1.0.1
Description
The issue allows for arbitrary shell command execution from .gitmodules. An attacker can exploit this by instructing a user to run a recursive clone from a controlled repository, or by performing a man-in-the-middle (MITM) attack on an unencrypted git clone. The
ext command will be executed when the repository is recursively cloned or when submodules are updated. This attack is effective for both local and remote repository clones.Recommendations
For git-fastclone versions prior to 1.0.1, update to version 1.0.1 or later to resolve the issue. As a temporary workaround, consider avoiding recursive clones and submodule updates from untrusted repositories. Restrict access to the
ext command to minimize the risk of exploitation.Exploit
Fix
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Git-Fastclone