RCE in Squareup Git-Fastclone
CVE-2015-8968
git-fastclone before 1.0.1 permits arbitrary shell command execution from .gitmodules. If an attacker can instruct a user to run a recursive clone from a repository they control, they can get a client to run an arbitrary shell command. Alternately, if an attacker can MITM an unencrypted git clone, they could exploit this. The ext command will be run if the repository is recursively cloned or if submodules are updated. This attack works when cloning both local and remote repositories.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.052, 92.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Squareup Git-Fastclone
- Git-Fastclone Ruby Gem All Versions Before 1.0.1 — versions git-fastclone ruby gem All versions before 1.0.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- hackerone.com/reports/104465 (Exploit, Third Party Advisory)
- www.securityfocus.com/bid/81433 (Third Party Advisory, VDB Entry, vdb-entry)
- github.com/square/git-fastclone/pull/2 (Patch, Vendor Advisory)